summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2020-06-11 09:31:08 +0200
committerJernej Jakob <jernej.jakob@gmail.com>2020-06-11 22:10:47 +0200
commitf9b601ef78f9f3b46ca66ae945a7e9d2dadb521b (patch)
treed0a5b4b7de60d682ba7be0c839a1a38dd0855a46
parent6fa9faa76c61fc17b78b600b715df0ed2761dd30 (diff)
downloadvyos-1x-f9b601ef78f9f3b46ca66ae945a7e9d2dadb521b.tar.gz
vyos-1x-f9b601ef78f9f3b46ca66ae945a7e9d2dadb521b.zip
dns forwarding: T2534: fix incorrect path in recursor override file
-rw-r--r--src/etc/systemd/system/pdns-recursor.service.d/override.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/systemd/system/pdns-recursor.service.d/override.conf b/src/etc/systemd/system/pdns-recursor.service.d/override.conf
index 750bc9972..158bac02b 100644
--- a/src/etc/systemd/system/pdns-recursor.service.d/override.conf
+++ b/src/etc/systemd/system/pdns-recursor.service.d/override.conf
@@ -2,6 +2,7 @@
WorkingDirectory=
WorkingDirectory=/run/powerdns
RuntimeDirectory=
-RuntimeDirectory=/run/powerdns
+RuntimeDirectory=powerdns
+RuntimeDirectoryPreserve=yes
ExecStart=
ExecStart=/usr/sbin/pdns_recursor --daemon=no --write-pid=no --disable-syslog --log-timestamp=no --config-dir=/run/powerdns --socket-dir=/run/powerdns