Set a WorkingDirectory (#33)

Set the WorkingDirectory in systemd unit to /etc/coredns to make zone
file relative paths work.

[patch]

Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
Ben Kochie 2020-01-25 16:33:46 +01:00 committed by GitHub
parent d04da19ed6
commit 6c505ddb2e
Failed to generate hash of commit

View file

@ -14,6 +14,7 @@ LimitNPROC=512
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
NoNewPrivileges=true
WorkingDirectory=/etc/coredns
User={{ coredns_system_user }}
Group={{ coredns_system_group }}