diff options
author | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2018-07-18 17:51:59 +0100 |
---|---|---|
committer | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2018-07-18 18:06:15 +0100 |
commit | 1e48546a6ad12d7287acf2a685fc78cee96dc6e6 (patch) | |
tree | 18b2496195613c732ba6acd5d63b854a1fc68a40 /package/network/services/igmpproxy/files/igmpproxy.init | |
parent | f8cc68670fcf2e6912ead308240ce1af4652b8c3 (diff) | |
download | upstream-1e48546a6ad12d7287acf2a685fc78cee96dc6e6.tar.gz upstream-1e48546a6ad12d7287acf2a685fc78cee96dc6e6.tar.bz2 upstream-1e48546a6ad12d7287acf2a685fc78cee96dc6e6.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>
(cherry picked from commit 9d5a2469304eb23b6d09432a6d9b6a57d0019d2a)
Diffstat (limited to 'package/network/services/igmpproxy/files/igmpproxy.init')
-rw-r--r-- | package/network/services/igmpproxy/files/igmpproxy.init | 2 |
1 files changed, 1 insertions, 1 deletions
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 |