aboutsummaryrefslogtreecommitdiffstats
path: root/mail/missey/files/mps.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'mail/missey/files/mps.sh.in')
-rw-r--r--mail/missey/files/mps.sh.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/mail/missey/files/mps.sh.in b/mail/missey/files/mps.sh.in
new file mode 100644
index 000000000000..2bc785013751
--- /dev/null
+++ b/mail/missey/files/mps.sh.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: mps
+# REQUIRE: LOGIN
+
+#
+# Add the following line to /etc/rc.conf to enable mps:
+# mps_enable (bool): Set to "NO" by default.
+# Set it to "YES" to enable Missey POP3 Server.
+#
+
+. %%RC_SUBR%%
+
+name="mps"
+rcvar=`set_rcvar`
+
+load_rc_config $name
+
+: ${mps_enable="NO"}
+
+command="%%PREFIX%%/sbin/mps"
+
+run_rc_command "$1"