mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
common/daemon: add a method to reexec itself
This commit is contained in:
@@ -39,6 +39,7 @@ func StartStopComponents(r *reporter.Reporter, daemonComponent daemon.Component,
|
||||
|
||||
<-daemonComponent.Terminated()
|
||||
r.Info().Msg("stopping all components")
|
||||
daemonComponent.FinishReexec()
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user