Skip to content

Instantly share code, notes, and snippets.

@kalupa
Created February 29, 2012 18:25
Show Gist options
  • Save kalupa/1943326 to your computer and use it in GitHub Desktop.
Save kalupa/1943326 to your computer and use it in GitHub Desktop.
# dirty little alias to restart nginx and passenger
function kicknginx () {
kill -HUP `cat /usr/local/var/run/nginx.pid`
touch ./tmp/restart.txt
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment