diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-11-09 06:55:00 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-11-09 06:55:00 +0100 |
commit | 44df1cea1ebc3296844c5c35cf053a92cda4b944 (patch) | |
tree | 298a6b52812fc359269db54a644afe8c6ae0f70c /src/services | |
parent | ee19c5524a134787a9c8e909d25b6a9ca7923fdf (diff) | |
download | vyos-1x-44df1cea1ebc3296844c5c35cf053a92cda4b944.tar.gz vyos-1x-44df1cea1ebc3296844c5c35cf053a92cda4b944.zip |
Revert "dns: T4799: fix bug with not reloading powerdns config"
This reverts commit ff09d4f47e5f54fad8258cd27fb0adfaa4c552b3.
Process name is actually:
<bound method Process.name of psutil.Process(pid=5031, name='pdns-r/worker', status='sleeping', started='08:51:51')>
Diffstat (limited to 'src/services')
-rwxr-xr-x | src/services/vyos-hostsd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/services/vyos-hostsd b/src/services/vyos-hostsd index a380f2e66..9ae7b1ea9 100755 --- a/src/services/vyos-hostsd +++ b/src/services/vyos-hostsd @@ -406,7 +406,8 @@ def validate_schema(data): def pdns_rec_control(command): - if not process_named_running('pdns_recursor'): + # pdns-r process name is NOT equal to the name shown in ps + if not process_named_running('pdns-r/worker'): logger.info(f'pdns_recursor not running, not sending "{command}"') return |