summaryrefslogtreecommitdiff
path: root/net-vpn/frp/files/frps_at_.service
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn/frp/files/frps_at_.service')
-rw-r--r--net-vpn/frp/files/frps_at_.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-vpn/frp/files/frps_at_.service b/net-vpn/frp/files/frps_at_.service
new file mode 100644
index 000000000000..2942e0ba7a69
--- /dev/null
+++ b/net-vpn/frp/files/frps_at_.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Frp Server Service
+After=network.target
+
+[Service]
+Type=simple
+User=nobody
+Restart=on-failure
+RestartSec=5s
+ExecStart=/usr/bin/frps -c /etc/frp/%i.ini
+LimitNOFILE=1048576
+
+[Install]
+WantedBy=multi-user.target