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

18 lines
257 B
Bash

#!/bin/ksh
#
# $OpenBSD: serf.rc,v 1.4 2018/01/11 19:27:10 rpe Exp $
daemon="${TRUEPREFIX}/bin/serf agent"
daemon_flags="-syslog"
daemon_user="_serf"
. /etc/rc.d/rc.subr
rc_bg=YES
rc_stop() {
pkill -INT -T "${daemon_rtable}" -xf "${pexp}"
}
rc_cmd $1