summaryrefslogtreecommitdiff
path: root/net/mediaproxy/files/proxydispatcher.in
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 23:05:26 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 23:05:26 +0000
commit39a5b78f8797ded2c50107a77794cd671dff707f (patch)
tree39f650e2e85c255908675444e0ce32d9639f251f /net/mediaproxy/files/proxydispatcher.in
parentRemove non staged ports without pending PR from net-im and net-mgmt (diff)
Remove non staged ports without pending PR from net-p2p, net and news
Diffstat (limited to 'net/mediaproxy/files/proxydispatcher.in')
-rw-r--r--net/mediaproxy/files/proxydispatcher.in33
1 files changed, 0 insertions, 33 deletions
diff --git a/net/mediaproxy/files/proxydispatcher.in b/net/mediaproxy/files/proxydispatcher.in
deleted file mode 100644
index 2b0b466d1c39..000000000000
--- a/net/mediaproxy/files/proxydispatcher.in
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-# $FreeBSD$
-#
-# PROVIDE: proxydispatcher
-# REQUIRE: mediaproxy
-# KEYWORD: nostart
-#
-# proxydispatcher starts and stops the SER MediaProxy dispatcher
-#
-# This script is usually run by %%PREFIX%%/etc/rc.d/mediaproxy
-#
-# Add the following line to /etc/rc.conf to enable proxydispatcher:
-# proxydispatcher_enable (bool): Set to "NO" by default.
-# Set it to "YES" to enable dispatcher.
-# proxydispatcher_flags (string): Set command line options
-
-. /etc/rc.subr
-
-name="proxydispatcher"
-rcvar=proxydispatcher_enable
-
-load_rc_config $name
-
-: ${proxydispatcher_enable="NO"}
-
-pidfile="/var/run/${name}.pid"
-
-command="%%PREFIX%%/mediaproxy/proxydispatcher.py"
-command_interpreter="%%PYTHON_CMD%%"
-command_args="--pid $pidfile"
-
-run_rc_command "$1"