Parent Directory | Revision Log
- Fix tor systemd unit (mga#6843) - Use tmpfiles for pid dir
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 | User=toruser |
8 | ExecStart=/usr/bin/tor -f /etc/tor/torrc Log "notice file /var/log/tor/tor.log" RunAsDaemon 0 DataDirectory /var/lib/tor |
9 | ExecReload=/bin/kill -HUP $MAINPID |
10 | ExecStop=/bin/kill -INT $MAINPID |
11 | TimeoutSec=30 |
12 | Restart=on-failure |
13 | LimitNOFILE=4096 |
14 | |
15 | [Install] |
16 | WantedBy=multi-user.target |
ViewVC Help | |
Powered by ViewVC 1.1.30 |