From a71b39940eaf1352f74532031ae4942e44ff70bf Mon Sep 17 00:00:00 2001 From: Robin Ophalvens <36503354+RobinOphalvens@users.noreply.github.com> Date: Wed, 12 Apr 2023 13:16:14 +0200 Subject: [PATCH] Unbound systemd overrides affect Service section, not the Unit (#2) Unbound overrides affect Service section, not the Unit --- Docker-Compose.yml | 2 +- Generic.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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