Last active
March 3, 2023 15:19
-
-
Save DevGW/7d58c33141f9ada440c67f79b1c340a5 to your computer and use it in GitHub Desktop.
Phusion Passenger : Restarting Apps #passenger #hha_ank
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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