Permalink
Browse files

Add some administrative utils (start.sh, stop.sh, server.log)

  • Loading branch information...
1 parent 22ed07e commit b2fa054f5a02fdfe75cc699d3f0241419a9b8770 yuriy committed Apr 2, 2012
Showing with 5,909 additions and 0 deletions.
  1. BIN bin/bash
  2. +5 −0 bin/start.sh
  3. +6 −0 bin/stop.sh
  4. +5,898 −0 log/server.log
View
BIN bin/bash
Binary file not shown.
View
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+cd ..
+node server/js/main.js > log/server.log &
+echo $! > server-pid
View
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+cd ..
+BQPID=$(cat server-pid)
+kill $BQPID
+rm server-pid
Oops, something went wrong.

0 comments on commit b2fa054

Please sign in to comment.