git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
349d26a
)
tor: fix init scripts
author
Rosen Penev
<redacted>
Sat, 15 Feb 2020 11:55:02 +0000
(
03:55
-0800)
committer
Rosen Penev
<redacted>
Sat, 15 Feb 2020 11:55:02 +0000
(
03:55
-0800)
pidfile should not be set. tor handles it.
Signed-off-by: Rosen Penev <redacted>
net/tor/Makefile
patch
|
blob
|
history
net/tor/files/tor.init
patch
|
blob
|
history
diff --git
a/net/tor/Makefile
b/net/tor/Makefile
index d62b129012090931850b1be98ccdf3de795b1d2f..f9f980af9d039777910ee3350748a03bc8524bd1 100644
(file)
--- a/
net/tor/Makefile
+++ b/
net/tor/Makefile
@@
-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/ \
diff --git
a/net/tor/files/tor.init
b/net/tor/files/tor.init
index 8512b98430aeb910761f23dc48b3085bba661091..142e2512def11559dcf42df3d47ea40feaaa677e 100644
(file)
--- a/
net/tor/files/tor.init
+++ b/
net/tor/files/tor.init
@@
-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
}
git clone https://git.99rst.org/PROJECT