You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my case, there are something about checking environment when program is starting over. If the check things are not correct, the program should stop.
But what should I do to this framework if it check/start failed ?
I found if I put checking things in Start() and return no nil error , service still started successfully and seems normal, nothing wrong happened, you can also stop the service, but there was no program process in ps, the service entered the restart cycle to restart program continually.
when I put checking things in run() and return no nil error, service still started successfully and seems normal, nothing wrong happened, you can also stop the service, and there was a program process in ps.
The text was updated successfully, but these errors were encountered:
In my case, there are something about checking environment when program is starting over. If the check things are not correct, the program should stop.
But what should I do to this framework if it check/start failed ?
I found if I put checking things in Start() and return no nil error , service still started successfully and seems normal, nothing wrong happened, you can also stop the service, but there was no program process in ps, the service entered the restart cycle to restart program continually.
when I put checking things in run() and return no nil error, service still started successfully and seems normal, nothing wrong happened, you can also stop the service, and there was a program process in ps.
The text was updated successfully, but these errors were encountered: