summaryrefslogtreecommitdiff
path: root/util/run_server
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-06-26 15:21:47 +0200
committerPatrick Simianer <p@simianer.de>2015-06-26 15:21:47 +0200
commit3dafab3491e7b0edf4901f33a5f165c9aa2eb9a5 (patch)
treeab1ac9b03a8a4e89e30bcc7214cefd0f5ce3bbd1 /util/run_server
parenta04fad578a2067c0818d1f6a630f9fe120a9db6e (diff)
util
Diffstat (limited to 'util/run_server')
-rwxr-xr-xutil/run_server10
1 files changed, 6 insertions, 4 deletions
diff --git a/util/run_server b/util/run_server
index 651638a..b983425 100755
--- a/util/run_server
+++ b/util/run_server
@@ -1,8 +1,10 @@
#!/bin/bash -x
-export LD_LIBRARY_PATH=/fast_scratch/simianer/lfpe/nanomsg-0.5-beta/lib
-export PYTHONPATH=/fast_scratch/simianer/lfpe/python
+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=/fast_scratch/simianer/lfpe/sessions/tiny_test
-clear;$UTIL/kill;$UTIL/kill;$UTIL/kill;rm $SESSION/work/lockfile; cp $SESSION/data.json.original $SESSION/data.json; $UTIL/../server.rb $SESSION/conf.rb
+SESSION=tiny_test
+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