Add configurable maintenance mode file support
All checks were successful
Build and Release / build-and-release (push) Successful in 1m32s

Implement maintenance_mode_file configuration option in NotificationConfig
to allow customizable file paths for suppressing email notifications.
Updates maintenance mode check to use configured path instead of hardcoded
/tmp/cm-maintenance file.
This commit is contained in:
2025-11-10 07:48:15 +01:00
parent c8db463204
commit d31c2384df
6 changed files with 14 additions and 7 deletions

6
Cargo.lock generated
View File

@@ -270,7 +270,7 @@ checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d"
[[package]]
name = "cm-dashboard"
version = "0.1.64"
version = "0.1.65"
dependencies = [
"anyhow",
"chrono",
@@ -292,7 +292,7 @@ dependencies = [
[[package]]
name = "cm-dashboard-agent"
version = "0.1.64"
version = "0.1.65"
dependencies = [
"anyhow",
"async-trait",
@@ -315,7 +315,7 @@ dependencies = [
[[package]]
name = "cm-dashboard-shared"
version = "0.1.64"
version = "0.1.65"
dependencies = [
"chrono",
"serde",