mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-05-26 07:34:26 +00:00
Advertise the main PID through sd_notify on startup
This commit is contained in:
@@ -86,6 +86,8 @@ impl LifecycleManager {
|
||||
let timeout = Duration::from_secs(60);
|
||||
let task_tracker = TaskTracker::new();
|
||||
|
||||
notify(&[sd_notify::NotifyState::MainPid(std::process::id())]);
|
||||
|
||||
Ok(Self {
|
||||
hard_shutdown_token,
|
||||
soft_shutdown_token,
|
||||
|
||||
Reference in New Issue
Block a user