mirror of
https://github.com/zhaofengli/attic.git
synced 2024-12-14 11:57:30 +00:00
nixos: Start atticd after nss-lookup for Postgres peer auth
This commit is contained in:
parent
22626efd35
commit
0ee4f4901b
1 changed files with 2 additions and 1 deletions
|
@ -150,7 +150,8 @@ in
|
|||
|
||||
systemd.services.atticd = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" ] ++ lib.optional hasLocalPostgresDB "postgresql.service";
|
||||
after = [ "network.target" ]
|
||||
++ lib.optionals hasLocalPostgresDB [ "postgresql.service" "nss-lookup.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${cfg.package}/bin/atticd -f ${checkedConfigFile}";
|
||||
EnvironmentFile = cfg.credentialsFile;
|
||||
|
|
Loading…
Reference in a new issue