tor: fix daemon reloading
authorValdikSS ValdikSS <iam@valdikss.org.ru>
Sun, 22 Oct 2023 16:30:04 +0000 (19:30 +0300)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Mon, 23 Oct 2023 08:02:15 +0000 (10:02 +0200)
procd requires init script name, not the path to executable

Signed-off-by: ValdikSS ValdikSS <iam@valdikss.org.ru>
(cherry picked from commit af58942738c13c431f531e78f368d18a0d2dd84d)

net/tor/Makefile
net/tor/files/tor.init

index 756d2785c0d1adbc59b3c496cae6b3f3b2fd1642..da2e478335a6d2f2780be09f192a209878d8b5c7 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=tor
 PKG_VERSION:=0.4.8.4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://dist.torproject.org/ \
index 142e2512def11559dcf42df3d47ea40feaaa677e..cb1cb73c5cd4159ba7f634ac19886811c7479f03 100644 (file)
@@ -32,7 +32,7 @@ generate_conf() {
 }
 
 reload_service() {
-       procd_send_signal /usr/sbin/tor
+       procd_send_signal tor
 }
 
 start_service() {