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:
parent
349d26ac6c
commit
acabb2cf50
2 changed files with 1 additions and 2 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=tor
|
||||
PKG_VERSION:=0.4.2.6
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://dist.torproject.org/ \
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue