From e7fcc1a2e1a08d43f5c194df330d99f8a251cda0 Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Wed, 10 Nov 2004 09:21:45 +0000 Subject: Add rcNG startup scripts for dbmail. Bump port version. --- mail/dbmail/files/dbmail-lmtpd.sh | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 mail/dbmail/files/dbmail-lmtpd.sh (limited to 'mail/dbmail/files/dbmail-lmtpd.sh') diff --git a/mail/dbmail/files/dbmail-lmtpd.sh b/mail/dbmail/files/dbmail-lmtpd.sh new file mode 100644 index 000000000000..f1133f43a70e --- /dev/null +++ b/mail/dbmail/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" -- cgit v1.2.3