Permalink
Browse files

Document the fact that restart.txt is no longer deleted.

  • Loading branch information...
1 parent ec5cdb0 commit 6373de3393090061f3987da48d1929fbd5dd3518 @FooBarWidget FooBarWidget committed Jun 16, 2009
Showing with 12 additions and 2 deletions.
  1. +6 −1 doc/Users guide Apache.txt
  2. +6 −1 doc/Users guide Nginx.txt
@@ -417,14 +417,19 @@ There are two ways to restart the application:
1. By restarting Apache.
2. By creating or modifying the file 'tmp/restart.txt' in the Rails
application's <<application_root,root folder>>. Phusion Passenger will
- automatically restart the application.
+ automatically restart the application during the next request.
For example, to restart our example MyCook application, we type this in the
command line:
-------------------------------------------
touch /webapps/mycook/tmp/restart.txt
-------------------------------------------
+Please note that, unlike earlier versions of Phusion Passenger, 'restart.txt'
+is not automatically deleted. Phusion Passenger checks whether the timestamp
+of this file has changed in order to determine whether the application should
+be restarted.
+
=== Migrations ===
Phusion Passenger is not related to Ruby on Rails migrations in any way. To
@@ -272,14 +272,19 @@ There are two ways to restart the application:
1. By restarting Nginx.
2. By creating or modifying the file 'tmp/restart.txt' in the Rails
application's <<application_root,root folder>>. Phusion Passenger will
- automatically restart the application.
+ automatically restart the application during the next request.
For example, to restart our example MyCook application, we type this in the
command line:
-------------------------------------------
touch /webapps/mycook/tmp/restart.txt
-------------------------------------------
+Please note that, unlike earlier versions of Phusion Passenger, 'restart.txt'
+is not automatically deleted. Phusion Passenger checks whether the timestamp
+of this file has changed in order to determine whether the application should
+be restarted.
+
=== Migrations ===
Phusion Passenger is not related to Ruby on Rails migrations in any way. To

0 comments on commit 6373de3

Please sign in to comment.