Add new remount-hook store parameter.

This commit is contained in:
Ben Radford 2023-07-26 11:31:26 +01:00 committed by Ben Radford
parent a1a7f3156d
commit d9688ba708

View file

@ -41,6 +41,13 @@ struct LocalOverlayStoreConfig : virtual LocalStoreConfig
default, but can be disabled if needed. default, but can be disabled if needed.
)"}; )"};
const PathSetting remountHook{(StoreConfig*) this, "", "remount-hook",
R"(
Script or program to run when overlay filesystem needs remounting.
TODO: Document this in more detail.
)"};
const std::string name() override { return "Experimental Local Overlay Store"; } const std::string name() override { return "Experimental Local Overlay Store"; }
std::string doc() override std::string doc() override