Add frps systemd unit for running frps all the time
This commit is contained in:
parent
e465a7bf1c
commit
010cabfe14
2 changed files with 4 additions and 5 deletions
|
|
@ -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 }}
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@ in {
|
|||
PrivateTmp = true;
|
||||
WorkingDirectory = "/tmp";
|
||||
};
|
||||
startAt = "*:0/15";
|
||||
wantedBy = ["multi-user.target"];
|
||||
};
|
||||
users.groups.${group} = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue