#!/sbin/openrc-run

supervisor="supervise-daemon"
command="/usr/bin/3proxy"
pidfile="/run/$SVCNAME/$SVCNAME.pid"
CONFFILE=/etc/$SVCNAME/$SVCNAME.cfg
command_args="$CONFFILE"
command_user="$(id -u threeproxy):$(id -g threeproxy)"
required_files="$CONFFILE"

depend() {
	need net
}
