summarylogtreecommitdiffstats
path: root/frps.service
diff options
context:
space:
mode:
Diffstat (limited to 'frps.service')
-rw-r--r--frps.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/frps.service b/frps.service
index 1daa2674203b..ec941bffd568 100644
--- a/frps.service
+++ b/frps.service
@@ -1,13 +1,14 @@
[Unit]
Description=Frp Server Service
-After=network.target
+After=network-online.target
+Wants=network-online.target
[Service]
Type=simple
User=nobody
Restart=on-failure
RestartSec=5s
-ExecStart=/usr/bin/frps -c /etc/frp/frps.ini
+ExecStart=/usr/bin/frps -c /etc/frp/frps.toml
[Install]
WantedBy=multi-user.target