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