add a startup hook

This commit is contained in:
Nicola Murino
2021-04-05 10:07:59 +02:00
parent fdf3f23df5
commit acb4310c11
5 changed files with 72 additions and 0 deletions

View File

@@ -131,6 +131,7 @@ func (s *Service) Start() error {
}
s.startServices()
go common.Config.ExecuteStartupHook() //nolint:errcheck
return nil
}