feat: Send notifications to systemd when a reload is triggered

This commit is contained in:
Ginger
2025-09-24 08:51:39 -04:00
committed by nex
parent cc4c2fed25
commit dc047b635f
6 changed files with 17 additions and 6 deletions
+7
View File
@@ -67,6 +67,9 @@ release_max_log_level = [
"tracing/max_level_trace",
"tracing/release_max_level_info",
]
systemd = [
"dep:sd-notify",
]
url_preview = [
"dep:image",
"dep:webpage",
@@ -119,5 +122,9 @@ blurhash.optional = true
recaptcha-verify = { version = "0.1.5", default-features = false }
ctor.workspace = true
[target.'cfg(all(unix, target_os = "linux"))'.dependencies]
sd-notify.workspace = true
sd-notify.optional = true
[lints]
workspace = true