mirror of
https://github.com/edu4rdshl/tor-router.git
synced 2026-07-17 23:24:48 +00:00
* Created start/stop methods to make service management easier * Added start/stop functions. Added iptables-save/restore functionality. --------- Co-authored-by: strepsil <hm@bitlabs.co.za>
15 lines
312 B
Desktop File
15 lines
312 B
Desktop File
[Unit]
|
|
Description=Start rules for transparent tor proxy
|
|
After=network-online.target tor.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/bin/tor-router start
|
|
RemainAfterExit=yes
|
|
ExecStop=/usr/bin/tor-router stop
|
|
TimeoutStopSec=180
|
|
KillMode=process
|
|
KillSignal=SIGINT
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|