summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-filter/postwhite/files/0.1.0')
-rw-r--r--mail-filter/postwhite/files/0.1.0/postwhite.conf5
-rw-r--r--mail-filter/postwhite/files/0.1.0/postwhite.init21
2 files changed, 26 insertions, 0 deletions
diff --git a/mail-filter/postwhite/files/0.1.0/postwhite.conf b/mail-filter/postwhite/files/0.1.0/postwhite.conf
new file mode 100644
index 000000000..4f676290b
--- /dev/null
+++ b/mail-filter/postwhite/files/0.1.0/postwhite.conf
@@ -0,0 +1,5 @@
+# Config file for /etc/init.d/postwhite
+
+# See "postwhite --help" for a list of available options.
+#
+POSTWHITE_OPTS=""
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 ${?}
+}