Skip to content

Instantly share code, notes, and snippets.

@DevGW
Last active March 3, 2023 15:19
Show Gist options
  • Save DevGW/7d58c33141f9ada440c67f79b1c340a5 to your computer and use it in GitHub Desktop.
Save DevGW/7d58c33141f9ada440c67f79b1c340a5 to your computer and use it in GitHub Desktop.
Phusion Passenger : Restarting Apps #passenger #hha_ank
# excerpted from: https://www.phusionpassenger.com/library/admin/apache/restart_app.html
#
# If you use passenger-config restart-app or restart.txt or restart an application,
# then Passenger never drops any requests during the restart.
#
# option 1 - interactive
passenger-config restart-app
# option 2 - non interactive
passenger-config restart-app /Users/phusion/testapp
# option 3 - Once Passenger has noticed that the file's timestamp has changed,
# it will restart the application
touch tmp/restart.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment