rpe 9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00

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