18 lines
348 B
Bash
Executable File

#!/bin/sh
#
# $OpenBSD: conserver.rc,v 1.7 2014/08/21 19:58:07 sthen Exp $
daemon="${TRUEPREFIX}/sbin/conserver -d"
daemon_flags="-n"
daemon_user="_conserver"
. /etc/rc.d/rc.subr
rc_pre() {
install -d -o _conserver /var/run/conserver
[[ -f /var/log/conserver ]] || install -o _conserver \
-m 644 /dev/null /var/log/conserver
}
rc_cmd $1