Browse Source

TT#36351 Use modern ngcp-check-active

Change-Id: I88da19e2d474071f34ea7b23da9a60daf4fd2cbf
changes/18/21018/3
Guillem Jover 8 years ago
parent
commit
d4763aba14
2 changed files with 6 additions and 10 deletions
  1. +3
    -5
      debian/ngcp-rtpengine-daemon.init
  2. +3
    -5
      debian/ngcp-rtpengine-recording-daemon.init

+ 3
- 5
debian/ngcp-rtpengine-daemon.init View File

@ -136,11 +136,9 @@ fi
case "$1" in
start)
set +e
if [ -x "/usr/sbin/ngcp-check_active" ]; then
/usr/sbin/ngcp-check_active -q
status=$?
case "${status}" in
0|3)
if [ -x "/usr/sbin/ngcp-check-active" ]; then
case "$(ngcp-check-active -v)" in
active|transition)
log_action_msg "Active node or transition."
;;
*)


+ 3
- 5
debian/ngcp-rtpengine-recording-daemon.init View File

@ -67,11 +67,9 @@ fi
case "$1" in
start)
set +e
if [ -x "/usr/sbin/ngcp-check_active" ]; then
/usr/sbin/ngcp-check_active -q
status=$?
case "${status}" in
0|3)
if [ -x "/usr/sbin/ngcp-check-active" ]; then
case "$(ngcp-check-active -v)" in
active|transition)
log_action_msg "Active node or transition."
;;
*)


Loading…
Cancel
Save