mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Add logic to notify service manager when start up is completed
This commit is contained in:
parent
fec96a38a4
commit
7878bb938e
5 changed files with 67 additions and 0 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue