freebsd-ports/mail/dbmail21/files/dbmail-timsieved.sh.in
Martin Wilke 41ab0bc4df - Add rc-script for dbmail-timsieved
- Fix potential problem with LDFLAGS
- Edit pkg-descr to make portlint a bit happier

PR:             ports/106762
Submitted by:   Mark Starovoytov <mark_sf@kikg.ifmo.r (maintainer)
2006-12-16 10:27:32 +00:00

32 lines
563 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: dbmail-timsieved
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable dbmail-timsieved:
#
#dbmail_timsieved_enable="YES"
#
# See dbmail-timsieved(8) for flags
#
. %%RC_SUBR%%
name=dbmail_timsieved
rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/dbmail-timsieved
pidfile=/var/run/dbmail-timsieved.pid
required_files=%%PREFIX%%/etc/dbmail.conf
# read settings, set default values
load_rc_config "$name"
: ${dbmail_timsieved_enable="NO"}
: ${dbmail_timsieved_flags=""}
run_rc_command "$1"