From 05a9899b8647e8086ce803c1f40bfc9a9f3ee25f Mon Sep 17 00:00:00 2001 From: yubiuser Date: Mon, 21 Jul 2025 11:34:11 +0200 Subject: [PATCH 1/2] Add note about pihole-FTL sigrtmin Signed-off-by: yubiuser --- docs/ftldns/signals.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/ftldns/signals.md b/docs/ftldns/signals.md index a14049c3b..3b2fdaa81 100644 --- a/docs/ftldns/signals.md +++ b/docs/ftldns/signals.md @@ -33,7 +33,16 @@ When FTL receives a `SIGHUP`, it clears the entire DNS cache, and then While `SIGHUP` updates/flushes almost everything, such a massive operation is often not necessary. Hence, we added several small real-time signals available for fine-grained control of what FTL does. When you see `SIGHUP` as a "big gun", the real-time signals are rather the "scalpel" to serve rather specific needs. -Real-time signals are not guaranteed to have the same number on all operating systems as the value of the constant `SIGRTMIN` may vary. For the signals described below, we recommend using the exact signal number described in the parentheses, e.g., real-time signal 0 (35) can be sent like: + +!!! warning "Real-time signals vary" + Real-time signals are not guaranteed to have the same number on all operating systems as the value of the constant `SIGRTMIN` may vary. + You can check the value on your system with + + ```bash + pihole-FTL sigrtmin + ``` + +For the signals described below, we recommend using the exact signal number described in the parentheses, e.g., real-time signal 0 (assuming `RTMIN=35`) can be sent like: ```bash sudo pkill -SIG35 pihole-FTL From 42aa869f221da14974d5d0de0c46b5126e453341 Mon Sep 17 00:00:00 2001 From: yubiuser Date: Tue, 22 Jul 2025 12:54:31 +0200 Subject: [PATCH 2/2] Apply reviewers suggstion Co-authored-by: Dominik Signed-off-by: yubiuser --- docs/ftldns/signals.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/ftldns/signals.md b/docs/ftldns/signals.md index 3b2fdaa81..276174756 100644 --- a/docs/ftldns/signals.md +++ b/docs/ftldns/signals.md @@ -41,6 +41,8 @@ While `SIGHUP` updates/flushes almost everything, such a massive operation is of ```bash pihole-FTL sigrtmin ``` + + If the output differs on your system, you need to adapt the numerical values in the remainder of this page. For the signals described below, we recommend using the exact signal number described in the parentheses, e.g., real-time signal 0 (assuming `RTMIN=35`) can be sent like: