server: disable landlock in systemd daemon

This ensures that reloads work correctly
This commit is contained in:
2025-12-01 12:07:19 +09:00
parent 152c3ddbcc
commit a6db254c20
4 changed files with 11 additions and 6 deletions

View File

@@ -116,7 +116,7 @@ in
serviceConfig = {
ExecStart = [
""
"${lib.getExe cfg.package} ${cfg.logLevel} server --systemd socket-activate"
"${lib.getExe cfg.package} ${cfg.logLevel} server --systemd --disable-landlock socket-activate"
];
ExecReload = [