tor: fix init scripts
authorRosen Penev <rosenp@gmail.com>
Sat, 15 Feb 2020 11:55:02 +0000 (03:55 -0800)
committerRosen Penev <rosenp@gmail.com>
Sat, 15 Feb 2020 11:55:02 +0000 (03:55 -0800)
pidfile should not be set. tor handles it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/tor/Makefile
net/tor/files/tor.init

index d62b129012090931850b1be98ccdf3de795b1d2f..f9f980af9d039777910ee3350748a03bc8524bd1 100644 (file)
@@ -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/ \
index 8512b98430aeb910761f23dc48b3085bba661091..142e2512def11559dcf42df3d47ea40feaaa677e 100644 (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
 }