Files
telemt/src
Vladimir Krivopalov 13adc6fa78 Add comprehensive Unix signal handling for daemon mode
Enhance signal handling to support proper daemon operation:

- SIGTERM: Graceful shutdown (same behavior as SIGINT)
- SIGQUIT: Graceful shutdown with full statistics dump
- SIGUSR1: Log rotation acknowledgment for external tools
- SIGUSR2: Dump runtime status to log without stopping

Statistics dump includes connection counts, ME keepalive metrics,
and relay adaptive tuning counters. SIGHUP config reload unchanged
(handled in hot_reload.rs).

Signals are handled via tokio::signal::unix with async select!
to avoid blocking the runtime. Non-shutdown signals (USR1/USR2)
run in a background task spawned at startup.

Signed-off-by: Vladimir Krivopalov <argenet@yandex.ru>
2026-03-20 20:39:50 +02:00
..
2026-02-24 05:57:53 +03:00
2026-03-20 12:46:35 +03:00
2026-02-24 05:57:53 +03:00
2026-02-24 05:57:53 +03:00
2026-03-20 12:45:53 +03:00
2026-03-07 16:18:09 +03:00