meza icon indicating copy to clipboard operation
meza copied to clipboard

add deploy switch to force restart to all services when used

Open revansx opened this issue 5 years ago • 1 comments

Request a switch for the DEPLOY command that restarts all services after a successful deploy.

Environment

  • all future versions of meza

Issue details

please add a switch to the deploy command that adds a step of restarting all services at the end of a successful deploy (i.e. httpd, haproxy, parsoid, mariadB, memcache, etc..)

As I understand, the value of not doing this is to avoid unnecessary site outages from successful deploys, however, I had a case where a deploy was successful but when the system was restarted for other reasons, httpd would not start due to something that had occured during a deploy. The reason is not important here, but since then I have adopted the practice of manually restarting all the services as a final step in validating a configuration I believe to be ok otherwise.

I certainly don't want to change the default behavior of DEPLOY, but it would be nice if there was an option to do a full restart of everything after a deploy as a final verification of the ability of the services to start up when the system is unattended and the event occurs.

revansx avatar Jun 07 '19 16:06 revansx