| 1 | #!/sbin/openrc-run |
| 2 | supervisor="supervise-daemon" |
| 3 | command="/usr/bin/3proxy" |
| 4 | CONFFILE=/etc/$SVCNAME/$SVCNAME.cfg |
| 5 | command_args="$CONFFILE" |
| 6 | command_user="$(id -u 3proxy):$(id -g 3proxy)" |
| 7 | required_files="$CONFFILE" |
| 8 | |
| 9 | depend() { |
| 10 | need net |
| 11 | } |
| 12 | |