mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +00:00
upgrades: Add systemd sandboxing features to repository setup service
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
c91939710b
commit
ddd1abdb8a
@ -21,3 +21,15 @@ Description=FreedomBox: Setup software repositories
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/share/plinth/actions/upgrades setup-repositories
|
ExecStart=/usr/share/plinth/actions/upgrades setup-repositories
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
LockPersonality=yes
|
||||||
|
PrivateDevices=yes
|
||||||
|
PrivateTmp=yes
|
||||||
|
PrivateUsers=yes
|
||||||
|
ProtectControlGroups=yes
|
||||||
|
ProtectKernelLogs=yes
|
||||||
|
ProtectKernelModules=yes
|
||||||
|
ProtectKernelTunables=yes
|
||||||
|
ProtectSystem=yes
|
||||||
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
||||||
|
RestrictRealtime=yes
|
||||||
|
SystemCallArchitectures=native
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user