forked from YokaiRick/akkoma
Security/Drops the sysadmin privilege from the daemon
This commit is contained in:
parent
3370924b8b
commit
64035201b5
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ ProtectSystem=full
|
|||
PrivateDevices=false
|
||||
; Ensures that the service process and all its children can never gain new privileges through execve().
|
||||
NoNewPrivileges=true
|
||||
; Drops the sysadmin capability from the daemon.
|
||||
CapabilityBoundingSet=~CAP_SYS_ADMIN
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue