Skip to content

Instantly share code, notes, and snippets.

@razenha
Created October 3, 2013 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save razenha/6816973 to your computer and use it in GitHub Desktop.
Save razenha/6816973 to your computer and use it in GitHub Desktop.
task :restart_zero_downtime do
run "touch #{current_path}/tmp/restart.txt"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment