Skip to content

Commit fd94b1a

Browse files
authored
Merge pull request #1270 from pi-hole/RTMIN
Add note about pihole-FTL sigrtmin
2 parents 78b3d4b + 42aa869 commit fd94b1a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/ftldns/signals.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,18 @@ When FTL receives a `SIGHUP`, it clears the entire DNS cache, and then
3333

3434
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.
3535

36-
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:
36+
<!-- markdownlint-disable code-block-style -->
37+
!!! warning "Real-time signals vary"
38+
Real-time signals are not guaranteed to have the same number on all operating systems as the value of the constant `SIGRTMIN` may vary.
39+
You can check the value on your system with
40+
41+
```bash
42+
pihole-FTL sigrtmin
43+
```
44+
45+
If the output differs on your system, you need to adapt the numerical values in the remainder of this page.
46+
<!-- markdownlint-enable code-block-style -->
47+
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:
3748

3849
```bash
3950
sudo pkill -SIG35 pihole-FTL

0 commit comments

Comments
 (0)