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