summaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-11-16 05:51:45 +0100
committerChristian Poessinger <christian@poessinger.com>2022-11-16 05:51:45 +0100
commit612005604d14b70f953e07e5b4f04e60192fb2e1 (patch)
tree24d33636e926d67c31ef3e46f756a451fe2992f5 /src/services
parente3d6284ec9b76208844e2fff84ee30c29340aee1 (diff)
downloadvyos-1x-612005604d14b70f953e07e5b4f04e60192fb2e1.tar.gz
vyos-1x-612005604d14b70f953e07e5b4f04e60192fb2e1.zip
Revert "Revert "dns: T4799: fix bug with not reloading powerdns config""
This reverts commit 44df1cea1ebc3296844c5c35cf053a92cda4b944.
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 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