modules/patroni: set RequiresMountsFor

This commit is contained in:
Max Headroom 2023-08-23 00:59:31 +02:00
parent b39868e7e3
commit 08bf35647d

View file

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