Stop an Application – Heroku

Just a quick post on how to stop an app on Heroku:

root@chris-VirtualBox:~/site# heroku maintenance:on
Maintenance mode enabled.

This will display a static page to all visitors but still allows for migrations etc:

Heroku - Application Offline for Maintenance
Heroku – Application Offline for Maintenance

To re-enable the app simply use the following:

root@chris-VirtualBox:~/site# heroku maintenance:off
Maintenance mode disabled.

Posted

in

, ,

by

Comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at WordPress.com

%d bloggers like this: