diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-07-29 00:04:42 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-07-29 00:04:42 -0400 |
commit | 915af1a65bc217fa33490876199bb69f760bea23 (patch) | |
tree | fb73a31ee55b41234c326a1847eb7ef9bb3f664f /contrib/dist | |
parent | 4e71fc92c867823495d97539a09564b0b611b7b6 (diff) | |
download | tor-915af1a65bc217fa33490876199bb69f760bea23.tar.gz tor-915af1a65bc217fa33490876199bb69f760bea23.zip |
Remove tor.service.in
We aren't good at maintaining this; downstream maintainers are much
better at figuring out what is right for them.
Closes #30797.
Diffstat (limited to 'contrib/dist')
-rw-r--r-- | contrib/dist/tor.service.in | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/contrib/dist/tor.service.in b/contrib/dist/tor.service.in deleted file mode 100644 index e857a8664e..0000000000 --- a/contrib/dist/tor.service.in +++ /dev/null @@ -1,35 +0,0 @@ -# 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=60 -Restart=on-failure -WatchdogSec=1m -LimitNOFILE=32768 - -# Hardening -PrivateTmp=yes -PrivateDevices=yes -ProtectHome=yes -ProtectSystem=full -ReadOnlyDirectories=/ -ReadWriteDirectories=-@LOCALSTATEDIR@/lib/tor -ReadWriteDirectories=-@LOCALSTATEDIR@/log/tor -NoNewPrivileges=yes -CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_NET_BIND_SERVICE - -[Install] -WantedBy=multi-user.target |