diff --git a/docs/ftldns/signals.md b/docs/ftldns/signals.md index a14049c3b..276174756 100644 --- a/docs/ftldns/signals.md +++ b/docs/ftldns/signals.md @@ -33,7 +33,18 @@ 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 + ``` + + 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: ```bash sudo pkill -SIG35 pihole-FTL