diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-11-05 08:03:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-05 08:03:57 +0100 |
commit | b3e524c29e9f5c8e7536ba86de9097be70fe5fb6 (patch) | |
tree | 804405f7f5ec64cb13e51f62dc52fe3cc6d018b9 | |
parent | 333e87dc69dc0812bf5da7b1e60a287aebc159bd (diff) | |
parent | ae30110b9fe47000693ecaeb63d9ecef1d4ef720 (diff) | |
download | vyos-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
-rwxr-xr-x | src/services/vyos-hostsd | 3 |
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 |