fix: zapret and other services started before network was fully established

This commit is contained in:
FUFSoB committed 2026-05-30 18:31:48 +05:00
1 parent 110e33bc27
commit 6025e463a5
4 files changed
+26 -4

No files matched your search

+2 -1
View File
@@ -134,7 +134,8 @@ let
name = serviceNames.socks;
value = mkRestartingService {
description = "sing-box proxy client (SOCKS + TProxy-ready)";
after = [ "network.target" ];
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
execStart = scripts.startSocks;
runtimeDirectory = serviceNames.socks;