diff --git a/service/system_service/cmd/app.go b/service/system_service/cmd/app.go index ed1a2bb..d5f7b50 100644 --- a/service/system_service/cmd/app.go +++ b/service/system_service/cmd/app.go @@ -8,6 +8,8 @@ import ( "errors" "fmt" "github.com/sirupsen/logrus" + "os" + "time" ) func main() { @@ -16,7 +18,8 @@ func main() { logrus.Error(errors.New(fmt.Sprintf("failed to init service: %v", err))) return } - select {} + time.Sleep(1 * time.Second) + os.Exit(0) } func initService() error {