Resolve deprecation error in Engine Yard before_restart configuration.