diff options
Diffstat (limited to 'contrib/dist/tor.service.in')
-rw-r--r-- | contrib/dist/tor.service.in | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/contrib/dist/tor.service.in b/contrib/dist/tor.service.in index c251158d9a..8ed5ad227a 100644 --- a/contrib/dist/tor.service.in +++ b/contrib/dist/tor.service.in @@ -1,17 +1,17 @@ +# tor.service -- this systemd configuration file for Tor sets up a +# relatively conservative, hardened Tor service. You may need to +# edit it if you are making changes to your Tor configuration that it +# does not allow. Package maintainers: this should be a starting point +# for your tor.service; it is not the last point. + [Unit] Description = Anonymizing overlay network for TCP After = syslog.target network.target nss-lookup.target -[Service] -Type = notify -NotifyAccess = all -ExecStartPre = @BINDIR@/tor -f @CONFDIR@/torrc --verify-config -ExecStart = @BINDIR@/tor -f @CONFDIR@/torrc -ExecReload = /bin/kill -HUP ${MAINPID} -KillSignal = SIGINT -TimeoutSec = 30 -Restart = on-failure -WatchdogSec = 1m +[Service] Type = notify NotifyAccess = all ExecStartPre = @BINDIR@/tor +-f @CONFDIR@/torrc --verify-config ExecStart = @BINDIR@/tor -f +@CONFDIR@/torrc ExecReload = /bin/kill -HUP ${MAINPID} KillSignal = +SIGINT TimeoutSec = 30 Restart = on-failure WatchdogSec = 1m LimitNOFILE = 32768 # Hardening |