fix: allow calibre-web to write through metadata.db symlink

This commit is contained in:
Noah Masur
2026-06-02 22:21:10 -04:00
parent 8b098f0589
commit cf8f1fa221
@@ -36,6 +36,11 @@ in
}; };
}; };
# metadata.db lives in /var/lib/calibre-web-db and is symlinked into the
# library dir; ProtectSystem=strict in the upstream module blocks writes
# through symlinks unless the real target path is also listed.
systemd.services.calibre-web.serviceConfig.ReadWritePaths = [ "/var/lib/calibre-web-db" ];
# Allow web traffic to Caddy # Allow web traffic to Caddy
nmasur.presets.services.caddy.routes = [ nmasur.presets.services.caddy.routes = [
{ {