summarylogtreecommitdiffstats
path: root/frps.service
diff options
context:
space:
mode:
authorVimsucks2017-12-09 18:54:27 +0800
committerVimsucks2017-12-09 18:54:27 +0800
commit05b3eea85f83988597fcc745a33c0e1a164eef19 (patch)
tree9799a29c11678858ca04d873ca1f481b04563e53 /frps.service
parenta8393c3e17babd00db16f3f696fbb36dd03e6deb (diff)
downloadaur-05b3eea85f83988597fcc745a33c0e1a164eef19.tar.gz
update service file to make service restart on fail
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 880029d7a50..1daa2674203 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]