Permalink
Browse files

XX-10436 - fix '/etc/init.d/sipxecs' script

  • Loading branch information...
1 parent 8ac6564 commit f96437520fd29b9f104f698ef156247536b52908 @laurentiu laurentiu committed Oct 2, 2012
Showing with 4 additions and 9 deletions.
  1. +4 −9 sipXsupervisor/bin/sipxecs.in
@@ -13,26 +13,21 @@ SVCSLIST="@SIPX_CONFDIR@/sipxecs-services.ini"
case "$1" in
start)
- for SVC in `cat $SVCSLIST`; do
- @SIPX_SERVICEDIR@/$SVC start
-done
+ @SIPX_BINDIR@/sipxagent -d start_sipxecs
;;
status)
for SVC in `cat $SVCSLIST`; do
@SIPX_SERVICEDIR@/$SVC status
-done
+ done
;;
stop)
- for SVC in `cat $SVCSLIST`; do
- @SIPX_SERVICEDIR@/$SVC stop
-done
+ @SIPX_BINDIR@/sipxagent -d stop_sipxecs
;;
restart)
- $0 stop
- $0 start
+ @SIPX_BINDIR@/sipxagent -d restart_sipxecs
;;
*)

0 comments on commit f964375

Please sign in to comment.