openbsd-ports/net/smokeping/pkg/smokeping.rc
sthen 26223473c7 update Smokeping to 2.6.8 and add an rc.d script
- note that the script file location has changed, it's probably simplest
to use the new sample httpd config.
2013-01-05 22:52:06 +00:00

16 lines
228 B
Bash

#!/bin/sh
#
# $OpenBSD: smokeping.rc,v 1.1 2013/01/05 22:52:07 sthen Exp $
daemon="${TRUEPREFIX}/bin/smokeping"
. /etc/rc.d/rc.subr
pexp="perl: ${daemon}"
rc_pre() {
install -d -o _smokeping /var/run/smokeping
}
rc_cmd $1