modules/patroni: use strictMounts

This commit is contained in:
Max Headroom 2023-08-23 17:03:28 +02:00
parent e35c18c39e
commit 4eaa162819

View file

@ -271,7 +271,7 @@ in
systemd-notify EXTEND_TIMEOUT_USEC=300000000
'';
unitConfig.RequiresMountsFor = [ cfg.dataDir cfg.postgresqlDataDir ];
strictMounts = [ cfg.dataDir cfg.postgresqlDataDir ];
serviceConfig = mkMerge [{
User = cfg.user;