aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2018-07-18 17:51:59 +0100
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2018-07-18 18:00:42 +0100
commit9d5a2469304eb23b6d09432a6d9b6a57d0019d2a (patch)
treeb3fd56b0db7057311a9430f5f3c22097a8565e8b /package/network
parent1e83f775a35ac9573bc60ed63424f5da9682a446 (diff)
downloadupstream-9d5a2469304eb23b6d09432a6d9b6a57d0019d2a.tar.gz
upstream-9d5a2469304eb23b6d09432a6d9b6a57d0019d2a.tar.bz2
upstream-9d5a2469304eb23b6d09432a6d9b6a57d0019d2a.zip
igmpproxy: run in foreground for procd
procd needs processes to stay in foreground to remain under its gaze and control. Failure to do so means service stop commands fail to actually stop the process (procd doesn't think it's running 'cos the process has exited already as part of its forking routing) Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Diffstat (limited to 'package/network')
-rw-r--r--package/network/services/igmpproxy/Makefile2
-rw-r--r--package/network/services/igmpproxy/files/igmpproxy.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/igmpproxy/Makefile b/package/network/services/igmpproxy/Makefile
index b98f3e5947..6ac4172c84 100644
--- a/package/network/services/igmpproxy/Makefile
+++ b/package/network/services/igmpproxy/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=igmpproxy
PKG_VERSION:=0.2.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/pali/igmpproxy/releases/download/${PKG_VERSION}/
diff --git a/package/network/services/igmpproxy/files/igmpproxy.init b/package/network/services/igmpproxy/files/igmpproxy.init
index 009bb5d429..0c30895ad6 100644
--- a/package/network/services/igmpproxy/files/igmpproxy.init
+++ b/package/network/services/igmpproxy/files/igmpproxy.init
@@ -114,7 +114,7 @@ start_service() {
[ -n "$has_upstream" ] || return
procd_open_instance
- procd_set_param command $PROG
+ procd_set_param command $PROG '-n'
[ -n "$logopts" ] && procd_append_param command $logopts
procd_append_param command $CONFIGFILE
procd_set_param file $CONFIGFILE