mirror of
https://github.com/TommyTran732/Fedora-CoreOS-Ignition.git
synced 2025-08-19 07:46:26 +02:00
19
etc/systemd/system/unbound.service.d/override.conf
Normal file
19
etc/systemd/system/unbound.service.d/override.conf
Normal file
@@ -0,0 +1,19 @@
|
||||
[Service]
|
||||
MemoryDenyWriteExecute=true
|
||||
PrivateDevices=true
|
||||
PrivateTmp=true
|
||||
ProtectHome=true
|
||||
ProtectClock=true
|
||||
ProtectControlGroups=true
|
||||
ProtectKernelLogs=true
|
||||
ProtectKernelModules=true
|
||||
# This breaks using socket options like 'so-rcvbuf'. Explicitly disable for visibility.
|
||||
ProtectKernelTunables=true
|
||||
ProtectProc=invisible
|
||||
RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK AF_UNIX
|
||||
RestrictRealtime=true
|
||||
SystemCallArchitectures=native
|
||||
SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module mount @obsolete @resources
|
||||
RestrictNamespaces=yes
|
||||
LockPersonality=yes
|
||||
RestrictSUIDSGID=yes
|
4
etc/systemd/zram-generator.conf
Normal file
4
etc/systemd/zram-generator.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
[zram0]
|
||||
zram-fraction = 1
|
||||
max-zram-size = 8192
|
||||
compression-algorithm = zstd
|
Reference in New Issue
Block a user