Add logic to notify service manager when start up is completed

This commit is contained in:
Remy D. Farley 2024-06-15 14:40:39 +00:00
parent fec96a38a4
commit 7878bb938e
5 changed files with 67 additions and 0 deletions

View file

@ -272,6 +272,10 @@ func main() {
}
}
if _, err = notifyStartupCompleted(); err != nil {
log.Warnln("Error while sending start up notification:", err)
}
// Block until we are told to shut down.
<-ctx.Done()