mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 20:26:52 +00:00
support reloading config via SIGUSR1
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
a567e314e9
commit
2f449ba47d
7 files changed
+75
-10
No files matched your search
@@ -1742,6 +1742,13 @@ pub struct Config {
|
||||
#[serde(default = "true_fn")]
|
||||
pub listening: bool,
|
||||
|
||||
/// Enables configuration reload when the server receives SIGUSR1 on
|
||||
/// supporting platforms.
|
||||
///
|
||||
/// default: true
|
||||
#[serde(default = "true_fn")]
|
||||
pub config_reload_signal: bool,
|
||||
|
||||
#[serde(flatten)]
|
||||
#[allow(clippy::zero_sized_map_values)]
|
||||
// this is a catchall, the map shouldn't be zero at runtime
|
||||
|
||||
Reference in new issue
Block a user