diff --git a/Docker-Compose.yml b/Docker-Compose.yml index 79a04a3..e9d3ca4 100644 --- a/Docker-Compose.yml +++ b/Docker-Compose.yml @@ -218,7 +218,7 @@ storage: - path: /etc/systemd/system/unbound.service.d/override.conf contents: inline: | - [Unit] + [Service] MemoryDenyWriteExecute=true PrivateDevices=true PrivateTmp=true diff --git a/Generic.yml b/Generic.yml index 282bc8f..3c9dfc5 100644 --- a/Generic.yml +++ b/Generic.yml @@ -216,7 +216,7 @@ storage: - path: /etc/systemd/system/unbound.service.d/override.conf contents: inline: | - [Unit] + [Service] MemoryDenyWriteExecute=true PrivateDevices=true PrivateTmp=true @@ -290,4 +290,4 @@ kernel_arguments: - page_alloc.shuffle=1 - randomize_kstack_offset=on - extra_latent_entropy - - debugfs=off \ No newline at end of file + - debugfs=off