service: explicitly depend on network-online.target

Signed-off-by: Emil Nikolov <emil.e.nikolov@gmail.com>
This commit is contained in:
Emil Nikolov
2024-01-20 23:22:21 -08:00
committed by Dave Anderson
parent 5ee5a81391
commit b75983b637
+1
View File
@@ -147,6 +147,7 @@
${cfg.package}/bin/golink ${builtins.concatStringsSep " " args}
'';
wantedBy = [ "multi-user.target" ];
wants = [ "network-online.target" ];
after = [ "network-online.target" ];
serviceConfig = {
User = cfg.user;