Files
Andrey Smirnov 9ef06f60f9 fix: service lifecycle issues
The core change is moving the context out of the `ServiceRunner` struct
to be a local variable, and using a channel to notify about shutdown
events.

Add more synchronization between Run and the moment service started to
avoid mis-identifying not running (yet) service as successfully finished.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
Co-authored-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
(cherry picked from commit 89fc68b459)
2024-03-20 14:34:40 +04:00
..
2024-03-20 14:34:40 +04:00
2023-12-14 15:38:33 +04:00