diff options
author | Sean Chittenden <seanc@FreeBSD.org> | 2004-11-10 09:21:45 +0000 |
---|---|---|
committer | Sean Chittenden <seanc@FreeBSD.org> | 2004-11-10 09:21:45 +0000 |
commit | e7fcc1a2e1a08d43f5c194df330d99f8a251cda0 (patch) | |
tree | 0266a3dff0ceee30ebdc55dccd24127cd1b56e6b /mail/dbmail20/files/dbmail-imapd.sh | |
parent | upgrade to 1.10 (diff) |
Add rcNG startup scripts for dbmail. Bump port version.
Diffstat (limited to 'mail/dbmail20/files/dbmail-imapd.sh')
-rw-r--r-- | mail/dbmail20/files/dbmail-imapd.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/mail/dbmail20/files/dbmail-imapd.sh b/mail/dbmail20/files/dbmail-imapd.sh new file mode 100644 index 000000000000..82505e96d9b0 --- /dev/null +++ b/mail/dbmail20/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" |