From 2e5b72e5e8dfb5199a9b0da7c76d052a456662c2 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 14 May 2013 01:18:40 -0700 Subject: Tue May 14 01:18:40 PDT 2013 --- community/mediaproxy/mediaproxy.init | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 community/mediaproxy/mediaproxy.init (limited to 'community/mediaproxy/mediaproxy.init') diff --git a/community/mediaproxy/mediaproxy.init b/community/mediaproxy/mediaproxy.init deleted file mode 100644 index ba9fe90b2..000000000 --- a/community/mediaproxy/mediaproxy.init +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -# mediaproxy starts and stops the SER MediaProxy server - -. /etc/rc.conf -. /etc/rc.d/functions - -case "$1" in - start) - stat_busy "Starting mediaproxy" - media-dispatcher && media-relay - if [ $? -gt 0 ]; then - stat_fail - 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 - ;; - restart) - $0 stop - sleep 3 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" - ;; -esac -- cgit v1.2.3-54-g00ecf