Commit e61ebef
committed
Fix SIGHUP: reload config instead of shutting down
SIGHUP was treated identically to SIGTERM, causing the filter to exit.
Unix convention is that SIGHUP triggers a configuration reload in
long-running daemons. The reload path already exists (previously only
reachable via SIGUSR1); SIGHUP is now folded into it.
SIGUSR1 continues to work as before. SIGTERM and SIGINT remain the
shutdown signals.
Fixes: trusteddomainproject#3221 parent 8e90a8c commit e61ebef
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
132 | 136 | | |
133 | 137 | | |
134 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3849 | 3849 | | |
3850 | 3850 | | |
3851 | 3851 | | |
3852 | | - | |
| 3852 | + | |
3853 | 3853 | | |
3854 | 3854 | | |
3855 | 3855 | | |
3856 | 3856 | | |
3857 | | - | |
| 3857 | + | |
3858 | 3858 | | |
3859 | 3859 | | |
3860 | 3860 | | |
| |||
0 commit comments