summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-filter/postwhite/files/0.1.0/postwhite.init')
-rw-r--r--mail-filter/postwhite/files/0.1.0/postwhite.init21
1 files changed, 21 insertions, 0 deletions
diff --git a/mail-filter/postwhite/files/0.1.0/postwhite.init b/mail-filter/postwhite/files/0.1.0/postwhite.init
new file mode 100644
index 000000000..e2261c481
--- /dev/null
+++ b/mail-filter/postwhite/files/0.1.0/postwhite.init
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+depend() {
+ need net
+ before postfix
+}
+
+start() {
+ ebegin "Starting Postwhite"
+ /usr/sbin/postwhite --quiet --detach ${POSTWHITE_OPTS} start
+ eend ${?}
+}
+
+stop() {
+ ebegin "Stopping Postwhite"
+ /usr/sbin/postwhite --quiet stop
+ eend ${?}
+}