nixos/calibre-web: fix ReadWritePaths when dataDir or calibreLibrary … (#496185)
This commit is contained in:
@@ -187,6 +187,9 @@ in
|
||||
|
||||
NoNewPrivileges = true;
|
||||
ProtectSystem = "strict";
|
||||
ReadWritePaths =
|
||||
lib.optional (lib.hasPrefix "/" cfg.dataDir) cfg.dataDir
|
||||
++ lib.optional (cfg.options.calibreLibrary != null) cfg.options.calibreLibrary;
|
||||
PrivateTmp = true;
|
||||
PrivateDevices = true;
|
||||
PrivateIPC = true;
|
||||
|
||||
Reference in New Issue
Block a user