tor: fix daemon reloading

procd requires init script name, not the path to executable

Signed-off-by: ValdikSS ValdikSS <iam@valdikss.org.ru>
This commit is contained in:
ValdikSS ValdikSS 2023-10-22 19:30:04 +03:00 committed by Josef Schlehofer
parent bb9d02be03
commit af58942738
2 changed files with 2 additions and 2 deletions

View 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/ \

View File

@ -32,7 +32,7 @@ generate_conf() {
}
reload_service() {
procd_send_signal /usr/sbin/tor
procd_send_signal tor
}
start_service() {