rehash: 'echoircd rehash' CLI + SIGHUP reload the running config in place via a pidfile

This commit is contained in:
Jean Chevronnet 2026-08-23 02:10:41 +00:00
parent 42fe82556b
commit a7ae0d86a9
No known key found for this signature in database
GPG key ID: 439666D63A9477E4
4 changed files with 96 additions and 3 deletions

View file

@ -14,6 +14,8 @@ name = "echoircd"
path = "src/lib.rs"
[dependencies]
# SIGHUP → config rehash, without unsafe (the crate keeps signal setup internal).
signal-hook = "0.3"
# TLS backend: openssl. The crate keeps all `unsafe` internal, so the daemon
# stays `#![forbid(unsafe_code)]`. A pure-Rust `rustls` backend can slot in beside it.
openssl = "0.10"