common/daemon: add a method to reexec itself

This commit is contained in:
Vincent Bernat
2025-09-18 22:42:48 +02:00
parent f735e46665
commit fa9315b9e1
4 changed files with 67 additions and 4 deletions

View File

@@ -39,6 +39,7 @@ func StartStopComponents(r *reporter.Reporter, daemonComponent daemon.Component,
<-daemonComponent.Terminated()
r.Info().Msg("stopping all components")
daemonComponent.FinishReexec()
return nil
}