Permalink
Browse files

restructure of files with s3 sync

  • Loading branch information...
1 parent d7398e7 commit 5ad18e9294d7272b7e53db13fd392da52b4ef149 @jacobwgillespie committed Feb 4, 2012
View
@@ -1 +1 @@
-web: sh run_minecraft.sh
+web: sh /app/bin/run_minecraft.sh
@@ -0,0 +1,5 @@
+. /app/bin/sync-from-s3.sh
+echo "`cat /app/server.properties1`\nserver-port=$PORT\n`cat /app/server.properties2`" > /app/server.properties
+cd /app
+java -Xmx512M -Xms512M -jar /app/bin/minecraft_server.jar nogui
+. /app/bin/sync-to-s3.sh
File renamed without changes.
View
@@ -0,0 +1,7 @@
+#!/bin/sh
+if [ ! -d /app/my_new_env ]; then
+ . /app/bin/setup_rsync.sh
+else
+ . /app/my_new_env/bin/activate
+fi
+boto-rsync -a $AWS_KEY -s $AWS_SECRET s3://$S3_BUCKET/ /app
View
@@ -0,0 +1,7 @@
+#!/bin/sh
+if [ ! -d /app/my_new_env ]; then
+ . /app/bin/setup_rsync.sh
+else
+ . /app/my_new_env/bin/activate
+fi
+boto-rsync -a $AWS_KEY -s $AWS_SECRET /app s3://$S3_BUCKET/
View
@@ -0,0 +1 @@
+jacobwg
View
@@ -1,2 +0,0 @@
-echo "`cat server.properties1`\nserver-port=$PORT\n`cat server.properties2`" > server.properties
-java -jar bin/minecraft_server.jar nogui
Oops, something went wrong.

0 comments on commit 5ad18e9

Please sign in to comment.