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

  • SEARCH
  • Home
  • 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 8059055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T09:32:54+00:00 2026-06-05T09:32:54+00:00

If I run the command play reload what boolean does it return if the

  • 0

If I run the command play reload what boolean does it return if the application is not running?

If I do a deploy shell script that looks like:

play reload || nohup play start

will it start Play! if the instance wasn’t running? Or will it fail regardless?

  • 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-05T09:32:56+00:00Added an answer on June 5, 2026 at 9:32 am

    To start off I had a misconception about the play reload command. It is in fact a part of the sbt tool and not the Play! application itself.

    play reload returns as zero, and like Dennis Williamson pointed out it means success.

    What I was actually referring to was play stage which readies the application for production in cases like an autodeployment.

    Now my final deployment script looks like this:

    play compile
    play stop || true
    
    nohup play -DapplyEvolutions.default=true start
    

    Notice my handy shortcut to applying evolutions?

    I’ve confirmed this works just as well and I ended up not using the play stage.

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

Sidebar

Related Questions

I need to run a command,but that don't lock my application until exit of
How can I run a command from a (bash) CGI script to play a
If I run the wget command listed below in the script by itself on
I'm trying to deploy a Play 1.2.4 application to a JBoss 7.0.2 server (I
In Rails 2 you're able to run script/console --sandbox so you can play with
I am running Apache on my localhost. From a PHP script run as www-user
I'm writing a paperclip processor that class ffmpeg using the Paperclip.run command. Currently, that
Background, this application is running on Play! Framework 1.2.4 on a Mac OS X
In mongodb, while I run command to get distinct record from collection, It returns
I want to do something between instrumentation and test when I run command mvn

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.