kiwix-serve: fix service sandboxing typo (ReadPaths -> ReadOnlyPaths)
This commit is contained in:
@@ -58,7 +58,7 @@ in
|
|||||||
serviceConfig.ProtectProc = "invisible";
|
serviceConfig.ProtectProc = "invisible";
|
||||||
serviceConfig.ProtectSystem = "strict";
|
serviceConfig.ProtectSystem = "strict";
|
||||||
serviceConfig.RemoveIPC = true;
|
serviceConfig.RemoveIPC = true;
|
||||||
serviceConfig.ReadPaths = cfg.zimPaths;
|
serviceConfig.ReadOnlyPaths = cfg.zimPaths;
|
||||||
serviceConfig.RestrictAddressFamilies = "AF_UNIX AF_INET AF_INET6";
|
serviceConfig.RestrictAddressFamilies = "AF_UNIX AF_INET AF_INET6";
|
||||||
serviceConfig.RestrictNamespaces = true;
|
serviceConfig.RestrictNamespaces = true;
|
||||||
serviceConfig.RestrictSUIDSGID = true;
|
serviceConfig.RestrictSUIDSGID = true;
|
||||||
|
Reference in New Issue
Block a user