summaryrefslogtreecommitdiff
path: root/util/run_server
blob: ca865542ceddd9c842474f40efd90b5018150efd (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash -x

export LD_LIBRARY_PATH=/fast_scratch/simianer/lfpe/lib/nanomsg-0.5-beta/lib:$LD_LIBRARY_PATH
export PYTHONPATH=/fast_scratch/simianer/lfpe/lib/python:$PYTHONPATH
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