modules/patroni: set RequiresMountsFor
This commit is contained in:
parent
b39868e7e3
commit
08bf35647d
1 changed files with 2 additions and 0 deletions
|
@ -271,6 +271,8 @@ in
|
||||||
systemd-notify EXTEND_TIMEOUT_USEC=300000000
|
systemd-notify EXTEND_TIMEOUT_USEC=300000000
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
unitConfig.RequiresMountsFor = [ cfg.dataDir cfg.postgresqlDataDir ];
|
||||||
|
|
||||||
serviceConfig = mkMerge [{
|
serviceConfig = mkMerge [{
|
||||||
User = cfg.user;
|
User = cfg.user;
|
||||||
Group = cfg.group;
|
Group = cfg.group;
|
||||||
|
|
Loading…
Reference in a new issue