summaryrefslogtreecommitdiff
path: root/community/mediaproxy/mediaproxy.init
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-18 01:24:49 -0700
committerroot <root@rshg054.dnsready.net>2012-10-18 01:24:49 -0700
commit9e3985ed7c9851da65023a0ab3d0739cce1858e2 (patch)
tree817050bac0aea21506bd81fde0bd6a07d7e2d3e4 /community/mediaproxy/mediaproxy.init
parentc84b2cd310f86dc50c4f52a5907cb17652e8c87c (diff)
Thu Oct 18 01:23:58 PDT 2012
Diffstat (limited to 'community/mediaproxy/mediaproxy.init')
-rwxr-xr-xcommunity/mediaproxy/mediaproxy.init24
1 files changed, 12 insertions, 12 deletions
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