initial import
This commit is contained in:
13
3proxy/3proxy.initd
Normal file
13
3proxy/3proxy.initd
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/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
|
||||
}
|
||||
Reference in New Issue
Block a user