daemon scripts and bump subpackages that contain the *.rc scripts. discussed with and OK aja@ OK tb
18 lines
257 B
Bash
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
|