tor-router/files/tor-router.service
mullerhx d0734de5c0
Service improvements
* 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>
2023-03-20 19:45:15 +00:00

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