mirror of
https://github.com/redlib-org/redlib.git
synced 2025-03-31 19:57:36 +03:00
Fix systemd service (#275)
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:
parent
e57eaa0b78
commit
604db902e9
1 changed files with 2 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue