doc/users_guide_snippets/tips.txt in passenger-4.0.30 vs doc/users_guide_snippets/tips.txt in passenger-4.0.31
- old
+ new
@@ -475,9 +475,13 @@
==== Error handling
If a hook script fails -- that is, if it exits with anything other than exit code 0 -- then the error handling depends on the hook. Some hooks will abort, other hooks will ignore the error. In all cases, the result of the hook script is printed to the log.
+==== Compatibility
+
+Because hooks are inherently tied to the implementation of Phusion Passenger, there is no guarantee that hooks that currently work will continue to be available in the future versions of Phusion Passenger. The availability of hooks is very much tied to the specific version of Phusion Passenger.
+
==== Available hooks
`before_watchdog_initialization`::
Called at the very beginning of Phusion Passenger's life cycle, during the start of the Watchdog process. The first hook is called before initialization is performed (before the HelperAgent is started). Errors in the hook script cause Phusion Passenger to abort.
`after_watchdog_initialization`::