Skip to content

Instantly share code, notes, and snippets.

@ammmir
Created November 30, 2010 08:06
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 ammmir/721328 to your computer and use it in GitHub Desktop.
Save ammmir/721328 to your computer and use it in GitHub Desktop.
live deployment
mv /tmp/myapp-new.sock /tmp/myapp-old.sock # still only v1
mv /tmp/myapp-v2.sock /tmp/myapp-new.sock # v1 + v2 hybrid
rm /tmp/myapp-old.sock # v2 remains in prod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment