Unbound systemd overrides affect Service section, not the Unit (#2)

Unbound overrides affect Service section, not the Unit
This commit is contained in:
Robin Ophalvens
2023-04-12 13:16:14 +02:00
committed by GitHub
parent 3b845ea7d2
commit a71b39940e
2 changed files with 3 additions and 3 deletions

View File

@@ -218,7 +218,7 @@ storage:
- path: /etc/systemd/system/unbound.service.d/override.conf - path: /etc/systemd/system/unbound.service.d/override.conf
contents: contents:
inline: | inline: |
[Unit] [Service]
MemoryDenyWriteExecute=true MemoryDenyWriteExecute=true
PrivateDevices=true PrivateDevices=true
PrivateTmp=true PrivateTmp=true

View File

@@ -216,7 +216,7 @@ storage:
- path: /etc/systemd/system/unbound.service.d/override.conf - path: /etc/systemd/system/unbound.service.d/override.conf
contents: contents:
inline: | inline: |
[Unit] [Service]
MemoryDenyWriteExecute=true MemoryDenyWriteExecute=true
PrivateDevices=true PrivateDevices=true
PrivateTmp=true PrivateTmp=true
@@ -290,4 +290,4 @@ kernel_arguments:
- page_alloc.shuffle=1 - page_alloc.shuffle=1
- randomize_kstack_offset=on - randomize_kstack_offset=on
- extra_latent_entropy - extra_latent_entropy
- debugfs=off - debugfs=off