#!/sbin/openrc-run

name="${RC_SVCNAME}"
pidfile="/run/$name.pid"

command="/usr/bin/bird-lgproxy-go"
: ${command_user:="bird-lgproxy-go:bird"}
command_background=true

: ${output_logger="logger -t bird-lgproxy-go -p daemon.info >/dev/null 2>&1"}
: ${error_logger="logger -t bird-lgproxy-go -p daemon.warning >/dev/null 2>&1"}

depend() {
	need bird
}
