cluster/services/storage: serviceConfig.RequiresMountsFor -> unitConfig.RequiresMountsFor
This commit is contained in:
parent
5d4c4a09fc
commit
cec2fc0bc1
1 changed files with 3 additions and 1 deletions
|
@ -54,10 +54,12 @@ in
|
|||
};
|
||||
|
||||
systemd.services.garage = {
|
||||
unitConfig = {
|
||||
RequiresMountsFor = [ cfg.settings.data_dir ];
|
||||
};
|
||||
serviceConfig = {
|
||||
IPAddressDeny = [ "any" ];
|
||||
IPAddressAllow = [ "127.0.0.1/8" vars.meshNet.cidr ];
|
||||
RequiresMountsFor = [ cfg.settings.data_dir ];
|
||||
DynamicUser = false;
|
||||
PrivateTmp = true;
|
||||
ProtectSystem = true;
|
||||
|
|
Loading…
Reference in a new issue