Fix memos failing to open SQLite database on ZFS
Some checks failed
Check Flake / check-flake (push) Failing after 18s
Some checks failed
Check Flake / check-flake (push) Failing after 18s
ProtectSystem=strict with ReadWritePaths fails silently on ZFS submounts (/var/lib is a separate dataset), leaving the data dir read-only. Downgrade to ProtectSystem=full which leaves /var writable while still protecting /usr and /boot.
This commit is contained in:
@@ -341,6 +341,8 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings.MEMOS_PORT = "57643";
|
settings.MEMOS_PORT = "57643";
|
||||||
};
|
};
|
||||||
|
# ReadWritePaths doesn't work with ProtectSystem=strict on ZFS submounts (/var/lib is a separate dataset)
|
||||||
|
systemd.services.memos.serviceConfig.ProtectSystem = lib.mkForce "full";
|
||||||
|
|
||||||
services.outline = {
|
services.outline = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user