mirror of
https://abf.rosa.ru/djam/tor.git
synced 2025-02-23 17:42:46 +00:00
16 lines
421 B
Desktop File
16 lines
421 B
Desktop File
[Unit]
|
|
Description=Anonymizing overlay network for TCP
|
|
After=syslog.target network.target nss-lookup.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=toruser
|
|
ExecStart=/usr/bin/tor -f /etc/tor/torrc Log "notice file /var/log/tor/tor.log" RunAsDaemon 0 DataDirectory /var/lib/tor
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
ExecStop=/bin/kill -INT $MAINPID
|
|
TimeoutSec=30
|
|
Restart=on-failure
|
|
LimitNOFILE=4096
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|