modules/patroni: use strictMounts
This commit is contained in:
parent
e35c18c39e
commit
4eaa162819
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ in
|
||||||
systemd-notify EXTEND_TIMEOUT_USEC=300000000
|
systemd-notify EXTEND_TIMEOUT_USEC=300000000
|
||||||
'';
|
'';
|
||||||
|
|
||||||
unitConfig.RequiresMountsFor = [ cfg.dataDir cfg.postgresqlDataDir ];
|
strictMounts = [ cfg.dataDir cfg.postgresqlDataDir ];
|
||||||
|
|
||||||
serviceConfig = mkMerge [{
|
serviceConfig = mkMerge [{
|
||||||
User = cfg.user;
|
User = cfg.user;
|
||||||
|
|
Loading…
Reference in a new issue