mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
quassel: Use systemd sandboxing features
Tests: - Installed Quassel and diagnostics are passed. - Quassel client connection is successful. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> [sunil: Remove RemainAfterExit=no as it is default] [sunil: Remove ReadWritePaths= as {Logs|State}Directory= take care of it] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 parent
e51d027618
commit
dbf70b9fef
1 file changed
+17
@@ -0,0 +1,17 @@
|
||||
[Service]
|
||||
LockPersonality=yes
|
||||
LogsDirectory=quassel
|
||||
NoNewPrivileges=yes
|
||||
PrivateDevices=yes
|
||||
PrivateMounts=yes
|
||||
PrivateTmp=yes
|
||||
ProtectControlGroups=yes
|
||||
ProtectHome=yes
|
||||
ProtectKernelLogs=yes
|
||||
ProtectKernelModules=yes
|
||||
ProtectKernelTunables=yes
|
||||
ProtectSystem=strict
|
||||
RestrictAddressFamilies=AF_INET AF_INET6
|
||||
RestrictRealtime=yes
|
||||
StateDirectory=quassel
|
||||
SystemCallArchitectures=native
|
||||
Reference in new issue
Block a user