daemon scripts and bump subpackages that contain the *.rc scripts. discussed with and OK aja@ OK tb
17 lines
280 B
Bash
17 lines
280 B
Bash
#!/bin/ksh
|
|
#
|
|
# $OpenBSD: ocserv.rc,v 1.2 2018/01/11 19:27:07 rpe Exp $
|
|
|
|
daemon="${TRUEPREFIX}/sbin/ocserv"
|
|
daemon_flags="-c ${SYSCONFDIR}/ocserv/ocserv.conf"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
pexp="ocserv: ocserv-main"
|
|
|
|
rc_pre() {
|
|
/usr/bin/install -d -o _ocserv /var/run/ocserv
|
|
}
|
|
|
|
rc_cmd $1
|