From 2ea961e226bb202dc95332c782dd3bc5448e57b3 Mon Sep 17 00:00:00 2001 From: am Date: Tue, 20 Dec 2011 11:27:01 +0100 Subject: Fixed bug 7. of http://goo.gl/1InHw --- ot-tools-user.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ot-tools-user.sh b/ot-tools-user.sh index 1ad02f4..57c6c00 100644 --- a/ot-tools-user.sh +++ b/ot-tools-user.sh @@ -52,7 +52,7 @@ otupdate() { otstart() { otconfig otkill - bash -c "nohup redis-server $HOME/opentox-ruby/redis-2.2.2/redis.conf >/dev/null 2>&1 &" + bash -c "nohup redis-server $HOME/opentox-ruby/redis-*/redis.conf >/dev/null 2>&1 &" bash -c "nohup nginx -c $HOME/opentox-ruby/nginx/conf/nginx.conf >/dev/null 2>&1 &" sleep 2 if ! pgrep -u $USER nginx>/dev/null 2>&1; then echo "Failed to start nginx."; fi -- cgit v1.2.3