Skip to content
Snippets Groups Projects
Commit 96a407a2 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

systemd changes for 13805 as recommened by Tomasz on that ticket.

parent c98e075e
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ After = syslog.target network.target nss-lookup.target
Type = notify
NotifyAccess = all
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}
KillSignal = SIGINT
TimeoutSec = 30
......@@ -22,8 +22,9 @@ ProtectSystem = full
ReadOnlyDirectories = /
ReadWriteDirectories = -@LOCALSTATEDIR@/lib/tor
ReadWriteDirectories = -@LOCALSTATEDIR@/log/tor
ReadWriteDirectories = -@LOCALSTATEDIR@/run/tor
NoNewPrivileges = yes
ReadWriteDirectories = -@LOCALSTATEDIR@/run/tor
CapabilityBoundingSet = CAP_SETUID CAP_SETGID CAP_NET_BIND_SERVICE
[Install]
WantedBy = multi-user.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment