aboutsummaryrefslogtreecommitdiff
path: root/mail/dbmail22/files
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2004-11-10 09:21:45 +0000
committerSean Chittenden <seanc@FreeBSD.org>2004-11-10 09:21:45 +0000
commite7fcc1a2e1a08d43f5c194df330d99f8a251cda0 (patch)
tree0266a3dff0ceee30ebdc55dccd24127cd1b56e6b /mail/dbmail22/files
parent4d144031b7558799d5e8aa1b4c0945580ed99c5a (diff)
downloadports-e7fcc1a2e1a08d43f5c194df330d99f8a251cda0.tar.gz
ports-e7fcc1a2e1a08d43f5c194df330d99f8a251cda0.zip
Notes
Diffstat (limited to 'mail/dbmail22/files')
-rw-r--r--mail/dbmail22/files/dbmail-imapd.sh32
-rw-r--r--mail/dbmail22/files/dbmail-lmtpd.sh32
-rw-r--r--mail/dbmail22/files/dbmail-pop3d.sh32
3 files changed, 96 insertions, 0 deletions
diff --git a/mail/dbmail22/files/dbmail-imapd.sh b/mail/dbmail22/files/dbmail-imapd.sh
new file mode 100644
index 000000000000..82505e96d9b0
--- /dev/null
+++ b/mail/dbmail22/files/dbmail-imapd.sh
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: dbmail-imapd
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+
+#
+# Add the following lines to /etc/rc.conf to enable dbmail-imapd:
+#
+#dbmail_imapd_enable="YES"
+#
+# See dbmail-imapd(8) for flags
+#
+
+. %%RC_SUBR%%
+
+name=dbmail_imapd
+rcvar=`set_rcvar`
+
+command=%%PREFIX%%/sbin/dbmail-imapd
+pidfile=/var/run/dbmail-imapd.pid
+required_files=%%PREFIX%%/etc/dbmail.conf
+
+# read settings, set default values
+load_rc_config "$name"
+: ${dbmail_imapd_enable="NO"}
+: ${dbmail_imapd_flags=""}
+
+run_rc_command "$1"
diff --git a/mail/dbmail22/files/dbmail-lmtpd.sh b/mail/dbmail22/files/dbmail-lmtpd.sh
new file mode 100644
index 000000000000..f1133f43a70e
--- /dev/null
+++ b/mail/dbmail22/files/dbmail-lmtpd.sh
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: dbmail-lmtpd
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+
+#
+# Add the following lines to /etc/rc.conf to enable dbmail-lmtpd:
+#
+#dbmail_lmtpd_enable="YES"
+#
+# See dbmail-lmtpd(8) for flags
+#
+
+. %%RC_SUBR%%
+
+name=dbmail_lmtpd
+rcvar=`set_rcvar`
+
+command=%%PREFIX%%/sbin/dbmail-lmtpd
+pidfile=/var/run/dbmail-lmtpd.pid
+required_files=%%PREFIX%%/etc/dbmail.conf
+
+# read settings, set default values
+load_rc_config "$name"
+: ${dbmail_lmtpd_enable="NO"}
+: ${dbmail_lmtpd_flags=""}
+
+run_rc_command "$1"
diff --git a/mail/dbmail22/files/dbmail-pop3d.sh b/mail/dbmail22/files/dbmail-pop3d.sh
new file mode 100644
index 000000000000..21bc97377b8b
--- /dev/null
+++ b/mail/dbmail22/files/dbmail-pop3d.sh
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: dbmail-pop3d
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+
+#
+# Add the following lines to /etc/rc.conf to enable dbmail-pop3d:
+#
+#dbmail_pop3d_enable="YES"
+#
+# See dbmail-pop3d(8) for flags
+#
+
+. %%RC_SUBR%%
+
+name=dbmail_pop3d
+rcvar=`set_rcvar`
+
+command=%%PREFIX%%/sbin/dbmail-pop3d
+pidfile=/var/run/dbmail-pop3d.pid
+required_files=%%PREFIX%%/etc/dbmail.conf
+
+# read settings, set default values
+load_rc_config "$name"
+: ${dbmail_pop3d_enable="NO"}
+: ${dbmail_pop3d_flags=""}
+
+run_rc_command "$1"