nixos: services: use 'postgresql.target'
This is now the more correct dependency to use in service definitions, to guarantee read-write access with users and permissions.
This commit is contained in:
parent
03bb627770
commit
d618406516
3 changed files with 6 additions and 6 deletions
|
|
@ -49,8 +49,8 @@ in
|
|||
|
||||
systemd.services = {
|
||||
tandoor-recipes = {
|
||||
after = [ "postgresql.service" ];
|
||||
requires = [ "postgresql.service" ];
|
||||
after = [ "postgresql.target" ];
|
||||
requires = [ "postgresql.target" ];
|
||||
|
||||
serviceConfig = {
|
||||
EnvironmentFile = cfg.secretKeyFile;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue