fix: Conditionally compile systemd features for Linux only

Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
This commit is contained in:
Chaos Rogers 2025-07-21 19:46:16 +01:00
parent b854d29015
commit 12065a08c2
4 changed files with 52 additions and 20 deletions

View file

@ -18,5 +18,7 @@ actix-files = "0.6"
tokio = { version = "1", features = ["full"] }
clap = { version = "4.4", features = ["derive"] }
log = "0.4"
[target.'cfg(target_os = "linux")'.dependencies]
systemd-journal-logger = "1.0"