1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/sbin/openrc-run
supervisor=supervise-daemon
name="frpc"
description="A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet."
command="/usr/bin/frpc"
command_args="$frpc_opts"
command_user=frpc:frpc
directory="/var/lib/$RC_SVCNAME"
depend() {
need net localmount
after firewall
}