Browse Source

tor: fix init scripts

pidfile should not be set. tor handles it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
acabb2cf50
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      net/tor/Makefile
  2. +0
    -1
      net/tor/files/tor.init

+ 1
- 1
net/tor/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tor
PKG_VERSION:=0.4.2.6
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://dist.torproject.org/ \


+ 0
- 1
net/tor/files/tor.init View File

@ -48,6 +48,5 @@ start_service() {
procd_set_param command /usr/sbin/tor --runasdaemon 0
procd_append_param command -f "$TORRC_GEN"
procd_set_param respawn
procd_set_param pidfile /var/run/tor.pid
procd_close_instance
}

Loading…
Cancel
Save