Closed yajo closed 3 years ago
Hmmm, there was a reason why I left it out originally. I had it there at the begiinng. Perhaps it was there due that I already had manually set the same containers, and didn't want to kill them if they already existed. But that's likely useless nowadays, so I agree this is a good change. thanks
I suppose the rm -f would not need the separate stop thingie, but I assume it's there due the graceful shut down time?
Yes, so the app has time to process the TERM signal from the stop
command for some seconds before being killed.
After running the role to start a service, I get these logs in loop:
This fixes the problem by always making sure the container is removed before start.