Create before_restart.rb