浏览代码

Enable extra system calls in systemd service (#1309)

runningnoodle 2 年之前
父节点
当前提交
d69b766a3a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      listmonk@.service

+ 1 - 1
listmonk@.service

@@ -35,7 +35,7 @@ SystemCallArchitectures=native
 # Only enable a reasonable set of system calls.
 # see: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#SystemCallFilter=
 SystemCallFilter=@system-service
-SystemCallFilter=~@privileged @resources
+SystemCallFilter=~@privileged
 # ProtectSystem=strict, which is implied by DynamicUser=True, already disabled write calls
 # to the entire filesystem hierarchy, leaving only /dev/, /proc/, and /sys/ writable.
 # listmonk doesn’t need access to those so might as well disable them.