ajacoutot 986cad0792 Fix indent.
Remove useless rc_stop()
2020-04-29 07:17:33 +00:00

19 lines
300 B
Bash

#!/bin/ksh
#
# $OpenBSD: honk.rc,v 1.2 2020/04/29 07:17:33 ajacoutot Exp $
daemon="${TRUEPREFIX}/bin/honk"
daemon_user="_honk"
. /etc/rc.d/rc.subr
rc_bg=YES
rc_reload=NO
rc_start() {
${rcexec} "cd ${VARBASE}/honk && ${daemon} ${daemon_flags} 2>&1 |
logger -p daemon.info -t honk"
}
rc_cmd $1