diff --git a/release/config/sing-box.service b/release/config/sing-box.service index 76ab695f..7b7a13a8 100644 --- a/release/config/sing-box.service +++ b/release/config/sing-box.service @@ -1,7 +1,7 @@ [Unit] Description=sing-box service Documentation=https://sing-box.sagernet.org -After=network.target nss-lookup.target +After=network.target nss-lookup.target network-online.target [Service] CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_SYS_PTRACE CAP_DAC_READ_SEARCH diff --git a/release/config/sing-box@.service b/release/config/sing-box@.service index 423ec458..578ebd1c 100644 --- a/release/config/sing-box@.service +++ b/release/config/sing-box@.service @@ -1,7 +1,7 @@ [Unit] Description=sing-box service Documentation=https://sing-box.sagernet.org -After=network.target nss-lookup.target +After=network.target nss-lookup.target network-online.target [Service] CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_SYS_PTRACE CAP_DAC_READ_SEARCH diff --git a/release/local/sing-box.service b/release/local/sing-box.service index 7ff91253..7dfd6f79 100644 --- a/release/local/sing-box.service +++ b/release/local/sing-box.service @@ -1,7 +1,7 @@ [Unit] Description=sing-box service Documentation=https://sing-box.sagernet.org -After=network.target nss-lookup.target +After=network.target nss-lookup.target network-online.target [Service] CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_SYS_PTRACE CAP_DAC_READ_SEARCH