Skip to content
Browse files

start app script

  • Loading branch information...
1 parent 5e87f50 commit 3c015207590645303d1b99f289e3327b0d6ecded @zackster committed Mar 4, 2012
Showing with 4 additions and 6 deletions.
  1. +4 −6
@@ -1,14 +1,12 @@
-echo "$NODE_ENV"
cd /opt/chat-staging/;
git reset --hard HEAD;
git pull;
+killall screen;
+export NODE_DEBUG=module;
-echo "Set NODE_ENV to $NODE_ENV";
-node leaderboard.js & node app.js;
-echo "Started leaderboard.js";
-echo "Started app.js";
+screen -d -m node leaderboard.js;
+screen -d -m node app.js;
-echo "NODE_ENV is now $NODE_ENV"

0 comments on commit 3c01520

Please sign in to comment.
Something went wrong with that request. Please try again.