3 # /etc/rc.d/init.d/siproxd
5 # Starts the siproxd daemon
9 # description: Listen and dispatch SIP messages
10 # processname: siproxd
12 # Source function library.
13 . /etc/rc.d/init.d/functions
15 [ -x /usr/sbin/siproxd ] || exit 0
20 # See how we were called.
24 # Check if it is already running
25 if [ ! -f /var/lock/subsys/siproxd ]; then
26 echo -n $"Starting sip proxy: "
27 daemon /usr/sbin/siproxd
29 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/siproxd
36 echo -n $"Stopping sip proxy: "
37 killproc /usr/sbin/siproxd
39 [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/siproxd
69 if [ -f /var/lock/subsys/siproxd ]; then
77 echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}"