Skip to content

Commit

Permalink
nixos/atticd: wants network-online.target
Browse files Browse the repository at this point in the history
fixes:

trace: evaluation warning: atticd.service is ordered after 'network-online.target' but doesn't depend on it
  • Loading branch information
adamcstephens authored and zhaofengli committed Oct 29, 2024
1 parent 6a82638 commit ba5ba2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/atticd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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}";
Expand Down

0 comments on commit ba5ba2d

Please sign in to comment.