Skip to content

Commit

Permalink
igmpproxy: run in foreground for procd
Browse files Browse the repository at this point in the history
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 9d5a246)
  • Loading branch information
ldir-EDB0 committed Jul 18, 2018
1 parent f8cc686 commit 1e48546
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package/network/services/igmpproxy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}/
Expand Down
2 changes: 1 addition & 1 deletion package/network/services/igmpproxy/files/igmpproxy.init
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e48546

Please sign in to comment.