From 26daeac21567bcdaee4ed62e297526e67171533d Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Sun, 28 Jun 2015 14:12:56 +0200 Subject: run_server --- util/run_server | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/run_server b/util/run_server index ca86554..7d45583 100755 --- a/util/run_server +++ b/util/run_server @@ -6,6 +6,10 @@ export GEM_PATH=/fast_scratch/simianer/lfpe/lib/ruby/:$GEM_PATH UTIL=/fast_scratch/simianer/lfpe/lfpe/util SESSION=$1 DIR=/fast_scratch/simianer/lfpe/sessions/$SESSION -#clear;$UTIL/kill;$UTIL/kill;$UTIL/kill; -rm $DIR/work/lockfile; cp $DIR/data.json.original $DIR/data.json; $UTIL/../server.rb $DIR/conf.rb + +rm $DIR/work/lockfile +rm -r $DIR/work/ +mkdir -p $DIR/work +cp $DIR/data.json.original $DIR/data.json +$UTIL/../server.rb $DIR/conf.rb &>$DIR/work/session.out -- cgit v1.2.3