fix: client services pull in network-online.target

Client services should pull in network-online.target instead of
network.target according to the
[doc](https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/).
This commit is contained in:
Jian Lin 2021-07-09 19:53:06 +08:00
parent 2a68c1152f
commit 5c6f389123
No known key found for this signature in database
GPG Key ID: FBAB7C380DF25982
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,7 @@
[Unit] [Unit]
Description=Frp Client Service Description=Frp Client Service
After=network.target After=network-online.target
Wants=network-online.target
[Service] [Service]
Type=simple Type=simple

View File

@ -1,6 +1,7 @@
[Unit] [Unit]
Description=Frp Client Service Description=Frp Client Service
After=network.target After=network-online.target
Wants=network-online.target
[Service] [Service]
Type=simple Type=simple