summaryrefslogtreecommitdiff
path: root/util/run_server
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-06-28 07:52:17 +0200
committerPatrick Simianer <p@simianer.de>2016-06-28 07:52:17 +0200
commit11b787cf91dedab3393d68ea6537bf257e865c0d (patch)
treed873d10cef188caa33c561e189955b35c1ecb04c /util/run_server
parent88879ebcd230e7ace8c7819e8d02f83a7273d9a8 (diff)
mv
Diffstat (limited to 'util/run_server')
-rwxr-xr-xutil/run_server17
1 files changed, 0 insertions, 17 deletions
diff --git a/util/run_server b/util/run_server
deleted file mode 100755
index a4b7a6c..0000000
--- a/util/run_server
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash -x
-
-BASE_DIR=/srv/postedit
-export LD_LIBRARY_PATH=$BASE_DIR/lib/nanomsg-0.5-beta/lib:$LD_LIBRARY_PATH
-export PYTHONPATH=$BASE_DIR/lib/python:$PYTHONPATH
-export GEM_PATH=$BASE_DIR/lib/ruby/:$GEM_PATH
-UTIL=$BASE_DIR/lfpe/util
-SESSION=$1
-SESSION_DIR=$BASE_DIR/sessions/$SESSION
-
-rm $SESSION_DIR/work/lockfile
-rm -r $SESSION_DIR/work/
-mkdir -p $SESSION_DIR/work
-cp $SESSION_DIR/data.json.original $SESSION_DIR/data.json
-cp $SESSION_DIR/g/original/* $SESSION_DIR/g/
-$UTIL/../server.rb $SESSION_DIR/conf.rb &>$SESSION_DIR/work/session.out
-