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:
Rosen Penev 2020-02-15 03:55:02 -08:00 committed by Jan Pavlinec
parent a21ffc8eb9
commit 0d8f39a36b
No known key found for this signature in database
GPG key ID: 60244CCEFB39E584

View file

@ -48,6 +48,5 @@ start_service() {
procd_set_param command /usr/sbin/tor --runasdaemon 0
procd_append_param command -f "$TORRC_GEN"
procd_set_param respawn
procd_set_param pidfile /var/run/tor.pid
procd_close_instance
}