mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
tor: fix init scripts
pidfile should not be set. tor handles it. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Jan Pavlinec
parent
a21ffc8eb9
commit
0d8f39a36b
@@ -48,6 +48,5 @@ start_service() {
|
|||||||
procd_set_param command /usr/sbin/tor --runasdaemon 0
|
procd_set_param command /usr/sbin/tor --runasdaemon 0
|
||||||
procd_append_param command -f "$TORRC_GEN"
|
procd_append_param command -f "$TORRC_GEN"
|
||||||
procd_set_param respawn
|
procd_set_param respawn
|
||||||
procd_set_param pidfile /var/run/tor.pid
|
|
||||||
procd_close_instance
|
procd_close_instance
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user