Add smart service start with automatic log exit
All checks were successful
Build and Release / build-and-release (push) Successful in 1m8s

- Service start now follows logs in real-time until service becomes active
- Automatically stops log following when systemctl reports service as active
- Eliminates need for manual Ctrl+C to exit log stream
- Shows final service status after startup completes
- Background monitoring loop checks service state every second
This commit is contained in:
2025-11-18 16:50:33 +01:00
parent 6693f3a05f
commit 0ca06d2507
5 changed files with 9 additions and 7 deletions

6
Cargo.lock generated
View File

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