Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9209917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:57:27+00:00 2026-06-18T00:57:27+00:00

Locally I just interrupt (ctrl-c) and then start it again. How do I do

  • 0

Locally I just interrupt (ctrl-c) and then start it again.

How do I do the same thing with an app on heroku?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T00:57:28+00:00Added an answer on June 18, 2026 at 12:57 am

    The answer was:

    heroku restart -a app_name
    
    # The -a is the same as --app
    

    Easily aliased with alias hra='heroku restart --app '
    Which you can make a permanent alias by adding it to your .bashrc or .bash_aliases file as described at:
    https://askubuntu.com/questions/17536/how-do-i-create-a-permanent-bash-alias and
    Creating permanent executable aliases
    Then you can just type hra app_name

    You can restart a specific remote, e.g. “staging” with:

    heroku restart -a app_name -r remote_name
    

    Alternatively if you are in the root directory of your rails application you can just type

    heroku restart
    

    to restart that app and and you can create an easy alias for that with

    alias hr='heroku restart'`
    

    You can place these aliases in your .bashrc file or (preferred) in a .bash_aliases file which is called from .bashrc

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just switched from storing my images uploaded via Carrierwave locally to using Amazon
I know locally it is possible to get file content line by line. just
I have a working copy of asp.net mvc site locally. I just uploaded the
every thing work fine locally but this error occurs when I publish it: The
My page worked locally before when it was just a static html page with
I just deployed a web application on JBOSS 4.2. It can be accessed locally
I just started experiment with EC2 tonight, and got a server running locally. I
I'm building a WinForms application where I'll need it to work locally (just like
I've just tested locally my web application, everything works fine, but after uploading to
I have a rails 3 app on heroku. I have a table in the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.