aboutsummaryrefslogtreecommitdiffstats
path: root/mail/perdition/files/perdition.imap4.in
diff options
context:
space:
mode:
Diffstat (limited to 'mail/perdition/files/perdition.imap4.in')
-rw-r--r--mail/perdition/files/perdition.imap4.in29
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/perdition/files/perdition.imap4.in b/mail/perdition/files/perdition.imap4.in
new file mode 100644
index 00000000000..b3ee2112d73
--- /dev/null
+++ b/mail/perdition/files/perdition.imap4.in
@@ -0,0 +1,29 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# PROVIDE: perdition_imap4
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# Add the following line to /etc/rc.conf to enable perdition.imap4
+#
+# perdition_imap4_enable="YES"
+#
+# See perdition(8) for flags
+#
+
+perdition_imap4_enable=${perdition_imap4_enable-"NO"}
+perdition_imap4_flags=${perditon_imap4_flags-""}
+
+. %%RC_SUBR%%
+
+name="perdition_imap4"
+rcvar=`set_rcvar`
+
+command="%%PREFIX%%/sbin/perdition.imap4"
+pidfile="/var/run/perdition.imap4/perdition.imap4.pid"
+
+load_rc_config $name
+
+run_rc_command "$1"