From 44df1cea1ebc3296844c5c35cf053a92cda4b944 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 9 Nov 2022 06:55:00 +0100 Subject: Revert "dns: T4799: fix bug with not reloading powerdns config" This reverts commit ff09d4f47e5f54fad8258cd27fb0adfaa4c552b3. Process name is actually: --- src/services/vyos-hostsd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3