Add network-online.target to service (#12)

Add network-online.target to service

If Firewalld is enabled, Cgproxy should running after the network was up to online to avoid conflict from Firewalld.
This commit is contained in:
sixg0000d
2020-08-06 09:40:52 +08:00
committed by GitHub
parent aa05c07c01
commit 55d67f4799

View File

@@ -1,6 +1,6 @@
[Unit]
Description=cgproxy service
After=network.target
After=network.target network-online.target
[Service]
Type=simple