openbsd-ports/mail/mimedefang/pkg/mimedefang_daemon.rc
ajacoutot 4ec44530ca Simplify after recent rc.subr change.
The framework is now stable and we will start documenting it (at last).
2010-12-27 14:50:22 +00:00

17 lines
343 B
Bash
Executable File

#!/bin/sh
#
# $OpenBSD: mimedefang_daemon.rc,v 1.5 2010/12/27 14:50:23 ajacoutot Exp $
daemon="${TRUEPREFIX}/bin/mimedefang"
daemon_flags="-U _mdefang -p /var/run/mdefang/mimedefang.socket -m /var/run/mdefang/multiplexor.socket"
. /etc/rc.d/rc.subr
rc_reload=NO
rc_pre() {
install -d -o _mdefang -g _mdefang /var/run/mdefang
}
rc_cmd $1