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 = {
|
systemd.services.garage = {
|
||||||
|
unitConfig = {
|
||||||
|
RequiresMountsFor = [ cfg.settings.data_dir ];
|
||||||
|
};
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
IPAddressDeny = [ "any" ];
|
IPAddressDeny = [ "any" ];
|
||||||
IPAddressAllow = [ "127.0.0.1/8" vars.meshNet.cidr ];
|
IPAddressAllow = [ "127.0.0.1/8" vars.meshNet.cidr ];
|
||||||
RequiresMountsFor = [ cfg.settings.data_dir ];
|
|
||||||
DynamicUser = false;
|
DynamicUser = false;
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
ProtectSystem = true;
|
ProtectSystem = true;
|
||||||
|
|
Loading…
Reference in a new issue