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
This commit is contained in:
parent
34738887a0
commit
fdb9279486
1 changed files with 2 additions and 2 deletions
|
|
@ -4,9 +4,9 @@
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/tor-router
|
ExecStart=/usr/bin/tor-router start
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
ExecStop=/usr/bin/iptables -F OUTPUT
|
ExecStop=/usr/bin/tor-router stop
|
||||||
TimeoutStopSec=180
|
TimeoutStopSec=180
|
||||||
KillMode=process
|
KillMode=process
|
||||||
KillSignal=SIGINT
|
KillSignal=SIGINT
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue