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:
parent
bb9d02be03
commit
af58942738
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=tor
|
PKG_NAME:=tor
|
||||||
PKG_VERSION:=0.4.8.4
|
PKG_VERSION:=0.4.8.4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://dist.torproject.org/ \
|
PKG_SOURCE_URL:=https://dist.torproject.org/ \
|
||||||
|
|
|
@ -32,7 +32,7 @@ generate_conf() {
|
||||||
}
|
}
|
||||||
|
|
||||||
reload_service() {
|
reload_service() {
|
||||||
procd_send_signal /usr/sbin/tor
|
procd_send_signal tor
|
||||||
}
|
}
|
||||||
|
|
||||||
start_service() {
|
start_service() {
|
||||||
|
|
Loading…
Reference in New Issue