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