summaryrefslogtreecommitdiff
path: root/contrib/dist/tor.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/dist/tor.service.in')
-rw-r--r--contrib/dist/tor.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/dist/tor.service.in b/contrib/dist/tor.service.in
index 8c70ccc6e3..20ceecf0ca 100644
--- a/contrib/dist/tor.service.in
+++ b/contrib/dist/tor.service.in
@@ -22,6 +22,7 @@ InaccessibleDirectories = /home
ReadOnlyDirectories = /
ReadWriteDirectories = @LOCALSTATEDIR@/lib/tor
ReadWriteDirectories = @LOCALSTATEDIR@/log/tor
+NoNewPrivileges = yes
[Install]
WantedBy = multi-user.target