daemon scripts and bump subpackages that contain the *.rc scripts. discussed with and OK aja@ OK tb
15 lines
234 B
Bash
15 lines
234 B
Bash
#!/bin/ksh
|
|
#
|
|
# $OpenBSD: icinga.rc,v 1.4 2018/01/11 19:27:05 rpe Exp $
|
|
|
|
daemon="${TRUEPREFIX}/bin/icinga -d"
|
|
daemon_flags="${SYSCONFDIR}/icinga.cfg"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
rc_pre() {
|
|
install -d -o _icinga /var/run/icinga
|
|
}
|
|
|
|
rc_cmd $1
|