Skip to content

Instantly share code, notes, and snippets.

@rstarmer
Created December 31, 2015 10:24
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 rstarmer/fefd75486bdd66fc2b6d to your computer and use it in GitHub Desktop.
Save rstarmer/fefd75486bdd66fc2b6d to your computer and use it in GitHub Desktop.
A script that can be called from the CI system to re-load the passenger application from github
#!/bin/bash
cd /var/www/ruby_hw
git pull
mkdir /var/www/ruby_hw/tmp
touch /var/www/ruby_hw/tmp/restart.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment