From f532413ba21cfa2ed2e09c1d3ee2efef6d59285b Mon Sep 17 00:00:00 2001 From: ValdikSS ValdikSS Date: Sun, 22 Oct 2023 19:30:04 +0300 Subject: [PATCH] tor: fix daemon reloading procd requires init script name, not the path to executable Signed-off-by: ValdikSS ValdikSS (cherry picked from commit af58942738c13c431f531e78f368d18a0d2dd84d) --- net/tor/Makefile | 2 +- net/tor/files/tor.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/tor/Makefile b/net/tor/Makefile index 75f36e1c11..96d9d99a9c 100644 --- a/net/tor/Makefile +++ b/net/tor/Makefile @@ -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/ \ diff --git a/net/tor/files/tor.init b/net/tor/files/tor.init index 142e2512de..cb1cb73c5c 100644 --- a/net/tor/files/tor.init +++ b/net/tor/files/tor.init @@ -32,7 +32,7 @@ generate_conf() { } reload_service() { - procd_send_signal /usr/sbin/tor + procd_send_signal tor } start_service() { -- 2.30.2