Skip to content

Instantly share code, notes, and snippets.

@whitehat101
Created May 23, 2017 05:12
Show Gist options
  • Save whitehat101/58e08c2d6ec4d8d07bb98fe708c0c1e2 to your computer and use it in GitHub Desktop.
Save whitehat101/58e08c2d6ec4d8d07bb98fe708c0c1e2 to your computer and use it in GitHub Desktop.
Capistrano inspired Factorio deploy
VER=0.13.10
cd
god stop factorio-0.13
mkdir factorio-$VER
(
cd factorio-$VER
curl -sL https://www.factorio.com/get-download/$VER/headless/linux64 | tar xz --strip-components=1
ln -s ~/saves saves
)
rm ~/factorio
ln -s ~/factorio-$VER ~/factorio
god start factorio-0.13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment