Add frps systemd unit for running frps all the time

This commit is contained in:
Eli Ribble 2025-10-13 22:03:15 +00:00
parent e465a7bf1c
commit 010cabfe14
2 changed files with 4 additions and 5 deletions

View file

@ -1,7 +1,7 @@
# frps.toml
auth.method = "token"
auth.token = "{{ .Envs.FRP_AUTH_TOKEN }}"
bindAddr = "{{ .Envs.FRP_BIND_ADDRESS }}"
bindPort = {{ .Envs.FRP_BIND_PORT }}
vhostHTTPPort = {{ .Envs.FRP_VHOST_HTTP_PORT }}
auth.token = "{{ .Envs.FRPS_AUTH_TOKEN }}"
bindAddr = "{{ .Envs.FRPS_BIND_ADDRESS }}"
bindPort = {{ .Envs.FRPS_BIND_PORT }}
vhostHTTPPort = {{ .Envs.FRPS_VHOST_HTTP_PORT }}

View file

@ -37,7 +37,6 @@ in {
PrivateTmp = true;
WorkingDirectory = "/tmp";
};
startAt = "*:0/15";
wantedBy = ["multi-user.target"];
};
users.groups.${group} = {};