91faa22c52
parameter to daemonize, move the parameter from daemon to daemon_flags, so that the user cannot inadvertently prevent it from daemonizing by adjusting the flags. Discussed with ajacoutot and schwarze, this method was suggested by schwarze@ as a simpler alternative to my diff. ok aja@
17 lines
224 B
Bash
17 lines
224 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: exim.rc,v 1.2 2011/12/17 22:01:13 sthen Exp $
|
|
|
|
daemon="${TRUEPREFIX}/bin/exim -bd"
|
|
daemon_flags="-q30m"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
pexp="${daemon}"
|
|
|
|
rc_pre() {
|
|
[ ! -f /etc/mailer.conf.exim ]
|
|
}
|
|
|
|
rc_cmd $1
|