From 8c001b11e33f44dbf63e9cabf44e11af7ba4bc6b Mon Sep 17 00:00:00 2001 From: gebele Date: Wed, 4 Apr 2018 13:06:03 +0000 Subject: updated gem service commands --- bin/lazar-start.sh | 4 ++-- bin/lazar-stop.sh | 2 +- lazar-gui.gemspec | 4 ++-- 3 files changed, 5 insertions(+), 5 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` diff --git a/lazar-gui.gemspec b/lazar-gui.gemspec index 104fb29..3a281df 100644 --- a/lazar-gui.gemspec +++ b/lazar-gui.gemspec @@ -23,8 +23,8 @@ Gem::Specification.new do |s| s.add_runtime_dependency "gem-path" s.post_install_message = %q{ - Service cmds: - lazar-start & + Service commands: + lazar-start lazar-stop } end -- cgit v1.2.3