[965] Resolve deprecation warning in Engine Yard before_restart configuration.
[965] Resolve deprecation warning in Engine Yard after_restart configuration.