summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-filter/postfwd/files/postfwd.init')
-rw-r--r--mail-filter/postfwd/files/postfwd.init27
1 files changed, 0 insertions, 27 deletions
diff --git a/mail-filter/postfwd/files/postfwd.init b/mail-filter/postfwd/files/postfwd.init
deleted file mode 100644
index b56d8b412f10..000000000000
--- a/mail-filter/postfwd/files/postfwd.init
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-PIDFILE=/var/run/postfwd.pid
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting postfwd"
- start-stop-daemon --start --quiet --background \
- --pidfile ${PIDFILE} \
- --exec /usr/sbin/postfwd2 -- --daemon --file ${POSTFWD_CONFIG} \
- --interface=${POSTFWD_LISTEN} --port=${POSTFWD_PORT} \
- --user=${POSTFWD_USER} --group=${POSTFWD_GROUP} \
- --pidfile ${PIDFILE} \
- ${POSTFWD_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping postfwd"
- start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
- eend $?
-}