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>
Tue, 27 Feb 2024 10:05:49 +0000 (11:05 +0100)
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 75f36e1c1149d8c92214cc7f3afe432884c50a6a..96d9d99a9c5f73307d737a45857d6644c6349d15 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() {