cluster/services/storage: mkForce garage's StateDirectory

This commit is contained in:
Max Headroom 2023-12-02 01:06:20 +01:00
parent ce7654740a
commit f973ca2084

View file

@ -71,7 +71,7 @@ in
ProtectSystem = true;
User = "garage";
Group = "garage";
StateDirectory = lib.removePrefix "/var/lib/" cfg.settings.metadata_dir;
StateDirectory = lib.mkForce (lib.removePrefix "/var/lib/" cfg.settings.metadata_dir);
};
};
}