mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
cae6388053
This closes 8368.
22 lines
455 B
SYSTEMD
22 lines
455 B
SYSTEMD
[Unit]
|
|
Description = Anonymizing overlay network for TCP
|
|
After = syslog.target network.target nss-lookup.target
|
|
|
|
[Service]
|
|
Type = simple
|
|
ExecStart = @BINDIR@/tor -f @CONFDIR@/torrc
|
|
ExecReload = /bin/kill -HUP ${MAINPID}
|
|
KillSignal = SIGINT
|
|
TimeoutSec = 30
|
|
Restart = on-failure
|
|
LimitNOFILE = 32768
|
|
|
|
# Hardening
|
|
PrivateTmp = yes
|
|
DeviceAllow = /dev/null rw
|
|
DeviceAllow = /dev/urandom r
|
|
InaccessibleDirectories = /home
|
|
|
|
[Install]
|
|
WantedBy = multi-user.target
|