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
2 changed files with 2 additions and 2 deletions
|
@ -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/ \
|
||||
|
|
|
@ -32,7 +32,7 @@ generate_conf() {
|
|||
}
|
||||
|
||||
reload_service() {
|
||||
procd_send_signal /usr/sbin/tor
|
||||
procd_send_signal tor
|
||||
}
|
||||
|
||||
start_service() {
|
||||
|
|
Loading…
Reference in a new issue