summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2018-04-04 13:06:03 +0000
committergebele <gebele@in-silico.ch>2018-04-04 13:06:03 +0000
commit8c001b11e33f44dbf63e9cabf44e11af7ba4bc6b (patch)
tree142fee0706b706a8c2ea8d1d9bfca7618f547c02 /bin
parentecc0cdf82d64e378dda4fd2fbb8d6977d4b90cee (diff)
updated gem service commands
Diffstat (limited to 'bin')
-rwxr-xr-xbin/lazar-start.sh4
-rwxr-xr-xbin/lazar-stop.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/lazar-start.sh b/bin/lazar-start.sh
index 9072150..9143d02 100755
--- a/bin/lazar-start.sh
+++ b/bin/lazar-start.sh
@@ -1,6 +1,6 @@
-#!/bin/bash
+#!/bin/sh
sudo mongod &
-R CMD Rserve
+R CMD Rserve --vanilla &
LAZARPATH=$(gem path lazar-gui)
cd $LAZARPATH
unicorn -c unicorn.rb -E production -D
diff --git a/bin/lazar-stop.sh b/bin/lazar-stop.sh
index eea6815..c311584 100755
--- a/bin/lazar-stop.sh
+++ b/bin/lazar-stop.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
grep_lazar=`ps aux | grep -v grep | grep lazar-start`
grep_mongo=`ps aux | grep -v grep | grep mongod`
grep_rserve=`ps aux | grep -v grep | grep Rserve`