heroku how to restart app when it crashed code example Example: heroku restart heroku ps:restart web -a <my app name>