Hacker News new | ask | show | jobs
by raasdnil 371 days ago
To restart your heroku dynos from the CLI, do the following:

CLI command is:

`heroku restart --app <app-name>`

This does not work for private spaces, for those you need to do:

`heroku ps:stop <dyno-type> --app <app-name>`

Where <dyno-type> is probably web, worker etc.

Once down, then you do:

`heroku restart --app <app-name>`

This has gotten about 10 apps online already for us so far - we are monitoring our fleet of 100 heroku apps and moving through the rest.

This is a pain in the butt.