123456789101112131415161718 |
- #!/bin/sh
- #
- # $OpenBSD: consul.rc,v 1.3 2017/05/27 19:57:07 ajacoutot Exp $
- daemon="${TRUEPREFIX}/bin/consul agent"
- daemon_flags="-config-dir ${SYSCONFDIR}/consul.d"
- daemon_user="_consul"
- . /etc/rc.d/rc.subr
- rc_bg=YES
- rc_stop() {
- pkill -INT -T "${daemon_rtable}" -xf "${pexp}"
- }
- rc_cmd $1
|