diff options
author | am <am@z21mn.(none)> | 2011-12-20 11:27:01 +0100 |
---|---|---|
committer | am <am@z21mn.(none)> | 2011-12-20 11:27:01 +0100 |
commit | 2ea961e226bb202dc95332c782dd3bc5448e57b3 (patch) | |
tree | ffb3e8dd4aaeb35146f6a0511bd82656715d1579 | |
parent | 73747676c8afa6188c87ea6795f3db940ab59b9c (diff) |
Fixed bug 7. of http://goo.gl/1InHw
-rw-r--r-- | ot-tools-user.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |