Skip to content

Instantly share code, notes, and snippets.

@dhrrgn
Created February 18, 2011 21:54
Show Gist options
  • Save dhrrgn/834486 to your computer and use it in GitHub Desktop.
Save dhrrgn/834486 to your computer and use it in GitHub Desktop.
A simple post-update hook for Git. It simply touches the fastCGI dispatch script when you "git pull". Equivalent of restarting the Python server.
#!/bin/sh
touch ~/public_html/dispatch.fcgi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment