nixos/atticd: wants network-online.target
fixes: trace: evaluation warning: atticd.service is ordered after 'network-online.target' but doesn't depend on it
This commit is contained in:
@@ -171,6 +171,7 @@ in
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network-online.target" ] ++ lib.optionals hasLocalPostgresDB [ "postgresql.service" ];
|
||||
requires = lib.optionals hasLocalPostgresDB [ "postgresql.service" ];
|
||||
wants = [ "network-online.target" ];
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${lib.getExe cfg.package} -f ${checkedConfigFile} --mode ${cfg.mode}";
|
||||
|
||||
Reference in New Issue
Block a user