aports/testing/haproxy-dataplaneapi/haproxy-dataplaneapi.initd
2024-07-04 15:54:42 +00:00

16 lines
276 B
Bash
Executable File

#!/sbin/openrc-run
name="haproxy-dataplaneapi"
description="HAProxy Data Plane API"
pidfile="/run/$RC_SVCNAME.pid"
command="/usr/sbin/dataplaneapi"
command_args="-f $CONFIGFILE"
command_background="yes"
command_user="haproxy:haproxy"
depend() {
need net
after firewall
}