]> git.sthu.org Git - shutils.git/blob - systemd/tor.service
vim: Use FSwitch plugin
[shutils.git] / systemd / tor.service
1 [Unit]
2 Description = Anonymizing overlay network for TCP
3 After = syslog.target network.target nss-lookup.target
4
5 [Service]
6 Type = simple
7 ExecStart = /usr/bin/tor --runasdaemon 0 --defaults-torrc /usr/share/tor/defaults-torrc -f /etc/tor/torrc --quiet
8 ExecReload = /bin/kill -HUP ${MAINPID}
9 ExecStop = /bin/kill -INT ${MAINPID}
10 TimeoutSec = 30
11 Restart = on-failure
12 LimitNOFILE = 4096
13
14 [Install]
15 WantedBy = multi-user.target