summaryrefslogtreecommitdiff
path: root/devel/py-mwlib/files/nslave.in
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-mwlib/files/nslave.in')
-rw-r--r--devel/py-mwlib/files/nslave.in38
1 files changed, 0 insertions, 38 deletions
diff --git a/devel/py-mwlib/files/nslave.in b/devel/py-mwlib/files/nslave.in
deleted file mode 100644
index 94342b9b668e..000000000000
--- a/devel/py-mwlib/files/nslave.in
+++ /dev/null
@@ -1,38 +0,0 @@
-#! /bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: nslave
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable nslave:
-#
-#nslave_enable="YES"
-
-. /etc/rc.subr
-
-name="nslave"
-rcvar="nslave_enable"
-
-load_rc_config $name
-
-: ${nslave_user:=www}
-: ${nslave_group:=www}
-: ${nslave_enable:=NO}
-
-pidfile="/var/run/${name}.pid"
-command="/usr/sbin/daemon"
-command_args="-c -f -p ${pidfile} %%PREFIX%%/bin/nslave ${nslave_args}"
-command_interpreter="%%PYTHON_CMD%%"
-procname="%%PREFIX%%/bin/nslave"
-
-start_precmd=nslave_pre_start
-
-nslave_pre_start() {
- /usr/bin/install -o ${nslave_user} -g ${nslave_group} -m 644 /dev/null ${pidfile}
-}
-
-run_rc_command "$1"