openbsd-ports/net/ircd-hybrid/pkg/ircd_hybrid.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

14 lines
218 B
Bash

#!/bin/sh
#
# $OpenBSD: ircd_hybrid.rc,v 1.3 2010/12/27 14:50:23 ajacoutot Exp $
daemon="${TRUEPREFIX}/bin/ircd"
. /etc/rc.d/rc.subr
rc_pre() {
install -d -o _ircd-hybrid -g _ircd-hybrid /var/run/ircd
}
rc_cmd $1