From 9e3985ed7c9851da65023a0ab3d0739cce1858e2 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 18 Oct 2012 01:24:49 -0700 Subject: Thu Oct 18 01:23:58 PDT 2012 --- community/mediaproxy/mediaproxy.init | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'community/mediaproxy/mediaproxy.init') diff --git a/community/mediaproxy/mediaproxy.init b/community/mediaproxy/mediaproxy.init index c8c600aea..ba9fe90b2 100755 --- a/community/mediaproxy/mediaproxy.init +++ b/community/mediaproxy/mediaproxy.init @@ -1,6 +1,6 @@ #!/bin/sh -# -# mediaproxy starts and stops the SER MediaProxy server + +# mediaproxy starts and stops the SER MediaProxy server . /etc/rc.conf . /etc/rc.d/functions @@ -14,19 +14,19 @@ case "$1" in else stat_done fi - ;; + ;; stop) stat_busy "Stopping mediaproxy" - kill `cat /var/run/mediaproxy/relay.pid` - kill `cat /var/run/mediaproxy/dispatcher.pid` - stat_done - ;; + kill `cat /var/run/mediaproxy/relay.pid` + kill `cat /var/run/mediaproxy/dispatcher.pid` + stat_done + ;; restart) - $0 stop - sleep 3 - $0 start - ;; + $0 stop + sleep 3 + $0 start + ;; *) - echo "usage: $0 {start|stop|restart}" + echo "usage: $0 {start|stop|restart}" ;; esac -- cgit v1.2.3-54-g00ecf