Browse Source

add option to run (prepare/start)

helpful for containers
4.3
lazedo 7 years ago
committed by Luis Azedo
parent
commit
f0de0c7596
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      system/sbin/kazoo-kamailio

+ 11
- 0
system/sbin/kazoo-kamailio View File

@ -238,6 +238,17 @@ check_config ()
} }
case "$1" in case "$1" in
runuser)
shift
prepare
USER="$(whoami)"
start $@
;;
run)
shift
prepare
start $@
;;
prepare) prepare)
prepare prepare
;; ;;


Loading…
Cancel
Save