1
0
Fork 0
mirror of https://github.com/zhaofengli/attic.git synced 2024-12-14 11:57:30 +00:00

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:
Adam Stephens 2024-10-29 12:25:02 -06:00 committed by Zhaofeng Li
parent 6a82638aa8
commit ba5ba2d6bc

View file

@ -202,6 +202,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}";