mirror of
https://github.com/springzfx/cgproxy.git
synced 2026-01-07 13:07:56 +08:00
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.
11 lines
198 B
CMake
11 lines
198 B
CMake
[Unit]
|
|
Description=cgproxy service
|
|
After=network.target network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/cgproxyd --execsnoop
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|