Skip to content

Instantly share code, notes, and snippets.

@whitehat101
Created May 23, 2017 05:11
Show Gist options
  • Save whitehat101/3fe3360fa8aee457af7b5cf4efd99420 to your computer and use it in GitHub Desktop.
Save whitehat101/3fe3360fa8aee457af7b5cf4efd99420 to your computer and use it in GitHub Desktop.
Capistrano inspired Minecraft deploy
cd ~/releases/v1.31
ln -fs ~/shared/banned-ips.json .
ln -fs ~/shared/banned-ips.json .
ln -fs ~/shared/banned-players.json .
ln -fs ~/shared/ops.json .
ln -fs ~/shared/server.properties .
ln -fs ~/shared/usercache.json .
ln -fs ~/shared/usernamecache.json .
ln -fs ~/shared/whitelist.json .
ln -fs ~/shared/world .
ln -fs ~/shared/backups .
rm ~/current
ln -fs ~/releases/v1.31 ~/current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment