From 847f1959e292f3671b0c1a987a710b98eb25a9ba Mon Sep 17 00:00:00 2001 From: lazedo Date: Wed, 30 Oct 2019 11:53:06 +0000 Subject: [PATCH] add foreground option --- system/sbin/kazoo-kamailio | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/system/sbin/kazoo-kamailio b/system/sbin/kazoo-kamailio index 838669d..cf0db02 100755 --- a/system/sbin/kazoo-kamailio +++ b/system/sbin/kazoo-kamailio @@ -306,6 +306,10 @@ case "$1" in shift start $@ ;; + foreground) + shift + start -E -DD $@ + ;; start) shift start -DD $@ @@ -328,7 +332,12 @@ case "$1" in boot) shift prepare - start -DD $@ + start $@ + ;; + boot-foreground) + shift + prepare + start -E -DD $@ ;; *) echo $"Usage: $0 {prepare|start|background|boot|stop|restart|reset-restart|status|check|pid}"