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:
parent
6a82638aa8
commit
ba5ba2d6bc
1 changed files with 1 additions and 0 deletions
|
@ -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}";
|
||||
|
|
Loading…
Reference in a new issue