|
@@ -6,7 +6,7 @@ After = syslog.target network.target nss-lookup.target
|
|
Type = notify
|
|
Type = notify
|
|
NotifyAccess = all
|
|
NotifyAccess = all
|
|
ExecStartPre = @BINDIR@/tor -f @CONFDIR@/torrc --verify-config
|
|
ExecStartPre = @BINDIR@/tor -f @CONFDIR@/torrc --verify-config
|
|
-ExecStart = @BINDIR@/tor -f @CONFDIR@/torrc
|
|
|
|
|
|
+ExecStart = @BINDIR@/tor -f @CONFDIR@/torrc
|
|
ExecReload = /bin/kill -HUP ${MAINPID}
|
|
ExecReload = /bin/kill -HUP ${MAINPID}
|
|
KillSignal = SIGINT
|
|
KillSignal = SIGINT
|
|
TimeoutSec = 30
|
|
TimeoutSec = 30
|
|
@@ -22,8 +22,9 @@ ProtectSystem = full
|
|
ReadOnlyDirectories = /
|
|
ReadOnlyDirectories = /
|
|
ReadWriteDirectories = -@LOCALSTATEDIR@/lib/tor
|
|
ReadWriteDirectories = -@LOCALSTATEDIR@/lib/tor
|
|
ReadWriteDirectories = -@LOCALSTATEDIR@/log/tor
|
|
ReadWriteDirectories = -@LOCALSTATEDIR@/log/tor
|
|
-ReadWriteDirectories = -@LOCALSTATEDIR@/run/tor
|
|
|
|
NoNewPrivileges = yes
|
|
NoNewPrivileges = yes
|
|
|
|
+ReadWriteDirectories = -@LOCALSTATEDIR@/run/tor
|
|
|
|
+CapabilityBoundingSet = CAP_SETUID CAP_SETGID CAP_NET_BIND_SERVICE
|
|
|
|
|
|
[Install]
|
|
[Install]
|
|
WantedBy = multi-user.target
|
|
WantedBy = multi-user.target
|