summaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-11-05 08:03:57 +0100
committerGitHub <noreply@github.com>2022-11-05 08:03:57 +0100
commitb3e524c29e9f5c8e7536ba86de9097be70fe5fb6 (patch)
tree804405f7f5ec64cb13e51f62dc52fe3cc6d018b9 /src/services
parent333e87dc69dc0812bf5da7b1e60a287aebc159bd (diff)
parentae30110b9fe47000693ecaeb63d9ecef1d4ef720 (diff)
downloadvyos-1x-b3e524c29e9f5c8e7536ba86de9097be70fe5fb6.tar.gz
vyos-1x-b3e524c29e9f5c8e7536ba86de9097be70fe5fb6.zip
Merge pull request #1640 from initramfs/equuleus-fix-pdns-reload
backport: dns: T4799: fixed powerdns not being reloaded by vyos-hostsd
Diffstat (limited to 'src/services')
-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 f4b1d0fc2..3cbd31331 100755
--- a/src/services/vyos-hostsd
+++ b/src/services/vyos-hostsd
@@ -378,8 +378,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