From acabb2cf50726ccafc3cb44aab4307440b2035a4 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 15 Feb 2020 03:55:02 -0800 Subject: [PATCH] tor: fix init scripts pidfile should not be set. tor handles it. Signed-off-by: Rosen Penev --- net/tor/Makefile | 2 +- net/tor/files/tor.init | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/net/tor/Makefile b/net/tor/Makefile index d62b12901..f9f980af9 100644 --- a/net/tor/Makefile +++ b/net/tor/Makefile @@ -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/ \ diff --git a/net/tor/files/tor.init b/net/tor/files/tor.init index 8512b9843..142e2512d 100644 --- a/net/tor/files/tor.init +++ b/net/tor/files/tor.init @@ -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 }