fix(contrib/systemd): fix incorrect SystemCallFilter format

This format is not recognized by systemd. As shown in the following log:

/etc/systemd/system/redlib.service:33: System call ~@privileged is not known, ignoring.
/etc/systemd/system/redlib.service:33: System call ~@resources is not known, ignoring.
This commit is contained in:
Guanran Wang 2024-10-01 19:52:15 +08:00
parent e57eaa0b78
commit 7d5d51e929
No known key found for this signature in database
GPG key ID: 91F97D9ED12639CF

View file

@ -30,7 +30,8 @@ RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
SystemCallArchitectures=native
SystemCallFilter=@system-service ~@privileged ~@resources
SystemCallFilter=@system-service
SystemCallFilter=~@privileged @resources
UMask=0077
[Install]