summarylogtreecommitdiffstats
path: root/frps.service
diff options
context:
space:
mode:
Diffstat (limited to 'frps.service')
-rw-r--r--frps.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/frps.service b/frps.service
index 880029d7a500..1daa2674203b 100644
--- a/frps.service
+++ b/frps.service
@@ -5,6 +5,8 @@ After=network.target
[Service]
Type=simple
User=nobody
+Restart=on-failure
+RestartSec=5s
ExecStart=/usr/bin/frps -c /etc/frp/frps.ini
[Install]