aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dbmail21/files
diff options
context:
space:
mode:
authorseanc <seanc@FreeBSD.org>2004-11-10 17:21:45 +0800
committerseanc <seanc@FreeBSD.org>2004-11-10 17:21:45 +0800
commit0c962949505e05a0700f3e4b597b12a924b7b4c1 (patch)
treead6de444760ce29b70c64997f2a9f0472debafd8 /mail/dbmail21/files
parenta59ffb470ceb17b9acbbbd0f04319473e894ae97 (diff)
downloadfreebsd-ports-gnome-0c962949505e05a0700f3e4b597b12a924b7b4c1.tar.gz
freebsd-ports-gnome-0c962949505e05a0700f3e4b597b12a924b7b4c1.tar.zst
freebsd-ports-gnome-0c962949505e05a0700f3e4b597b12a924b7b4c1.zip
Add rcNG startup scripts for dbmail. Bump port version.
Diffstat (limited to 'mail/dbmail21/files')
-rw-r--r--mail/dbmail21/files/dbmail-imapd.sh32
-rw-r--r--mail/dbmail21/files/dbmail-lmtpd.sh32
-rw-r--r--mail/dbmail21/files/dbmail-pop3d.sh32
3 files changed, 96 insertions, 0 deletions
diff --git a/mail/dbmail21/files/dbmail-imapd.sh b/mail/dbmail21/files/dbmail-imapd.sh
new file mode 100644
index 000000000000..82505e96d9b0
--- /dev/null
+++ b/mail/dbmail21/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/dbmail21/files/dbmail-lmtpd.sh b/mail/dbmail21/files/dbmail-lmtpd.sh
new file mode 100644
index 000000000000..f1133f43a70e
--- /dev/null
+++ b/mail/dbmail21/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/dbmail21/files/dbmail-pop3d.sh b/mail/dbmail21/files/dbmail-pop3d.sh
new file mode 100644
index 000000000000..21bc97377b8b
--- /dev/null
+++ b/mail/dbmail21/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"