openbsd-ports/sysutils/monit/pkg/monit.rc
sthen 1886deef73 - fix segfault at startup, thanks to Liviu Daia
- switch temporary kvm_getproc2 / struct kinfo_proc2 to
kvm_getprocs / struct kinfo_proc now that the old API has
been fully replaced

- add an rc.d script
2011-06-26 10:29:11 +00:00

11 lines
184 B
Bash

#!/bin/sh
#
# $OpenBSD: monit.rc,v 1.1 2011/06/26 10:29:11 sthen Exp $
daemon="${TRUEPREFIX}/bin/monit"
daemon_flags="-d 300 -c ${SYSCONFDIR}/monitrc"
. /etc/rc.d/rc.subr
rc_cmd $1