summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-11-05 08:24:49 +0100
committerGitHub <noreply@github.com>2022-11-05 08:24:49 +0100
commit6c0473efd27205d6f51ee1726b46f5898b723cd3 (patch)
treec6ef4164320430f6ff3cd6f364b16c812cf229cd
parent36e54927217d8e1560ddb7d4911542c53c42c71f (diff)
parentff09d4f47e5f54fad8258cd27fb0adfaa4c552b3 (diff)
downloadvyos-1x-6c0473efd27205d6f51ee1726b46f5898b723cd3.tar.gz
vyos-1x-6c0473efd27205d6f51ee1726b46f5898b723cd3.zip
Merge pull request #1639 from initramfs/current-fix-pdns-reload
dns: T4799: fixed powerdns not being reloaded by vyos-hostsd
-rwxr-xr-xsrc/services/vyos-hostsd3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/services/vyos-hostsd b/src/services/vyos-hostsd
index 9ae7b1ea9..a380f2e66 100755
--- a/src/services/vyos-hostsd
+++ b/src/services/vyos-hostsd
@@ -406,8 +406,7 @@ def validate_schema(data):
def pdns_rec_control(command):
- # pdns-r process name is NOT equal to the name shown in ps
- if not process_named_running('pdns-r/worker'):
+ if not process_named_running('pdns_recursor'):
logger.info(f'pdns_recursor not running, not sending "{command}"')
return