mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
matrixsynapse: Enable systemd sandboxing
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
4fc3d14ac3
commit
e5c80e8af3
@ -0,0 +1,17 @@
|
||||
[Service]
|
||||
ConfigurationDirectory=matrix-synapse
|
||||
LockPersonality=yes
|
||||
LogsDirectory=matrix-synapse
|
||||
NoNewPrivileges=yes
|
||||
PrivateDevices=yes
|
||||
PrivateTmp=yes
|
||||
ProtectControlGroups=yes
|
||||
ProtectHome=yes
|
||||
ProtectKernelLogs=yes
|
||||
ProtectKernelModules=yes
|
||||
ProtectKernelTunables=yes
|
||||
ProtectSystem=strict
|
||||
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
||||
RestrictRealtime=yes
|
||||
StateDirectory=matrix-synapse
|
||||
SystemCallArchitectures=native
|
||||
Loading…
x
Reference in New Issue
Block a user