Commit 58e12657 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 1e611f05
...@@ -52,7 +52,7 @@ Mpy() { ...@@ -52,7 +52,7 @@ Mpy() {
# XXX --autostart=1 ? # XXX --autostart=1 ?
exec -a Mpy \ exec -a Mpy \
neomaster --cluster=$cluster --bind=$Mbind --masters=$Mbind -r 1 -p 1 --logfile=$log/Mpy.log $@ & neomaster --cluster=$cluster --bind=$Mbind --masters=$Mbind -r 1 -p 1 --logfile=$log/Mpy.log "$@" &
} }
Mgo() { Mgo() {
...@@ -66,7 +66,7 @@ Spy() { ...@@ -66,7 +66,7 @@ Spy() {
# --database=... # --database=...
# --engine=... # --engine=...
exec -a Spy \ exec -a Spy \
neostorage --cluster=$cluster --bind=$Sbind --masters=$Mbind --logfile=$log/Spy.log $@ & neostorage --cluster=$cluster --bind=$Sbind --masters=$Mbind --logfile=$log/Spy.log "$@" &
} }
# Sgo <data.fs> - spawn NEO/go storage # Sgo <data.fs> - spawn NEO/go storage
...@@ -75,20 +75,20 @@ Sgo() { ...@@ -75,20 +75,20 @@ Sgo() {
# -alsologtostderr # -alsologtostderr
exec -a Sgo \ exec -a Sgo \
neo -log_dir=$log storage -cluster=$cluster -bind=$Sbind -masters=$Mbind $@ & neo -log_dir=$log storage -cluster=$cluster -bind=$Sbind -masters=$Mbind "$@" &
} }
# Apy ... - spawn NEO/py admin # Apy ... - spawn NEO/py admin
Apy() { Apy() {
exec -a Apy \ exec -a Apy \
neoadmin --cluster=$cluster --bind=$Abind --masters=$Mbind --logfile=$log/Apy.log $@ & neoadmin --cluster=$cluster --bind=$Abind --masters=$Mbind --logfile=$log/Apy.log "$@" &
} }
# Zpy <data.fs> ... - spawn ZEO # Zpy <data.fs> ... - spawn ZEO
Zpy() { Zpy() {
exec -a Zpy \ exec -a Zpy \
runzeo --address $Zbind --filename $@ 2>>$log/Zpy.log & runzeo --address $Zbind --filename "$@" 2>>$log/Zpy.log &
} }
...@@ -228,6 +228,7 @@ GENsql() { ...@@ -228,6 +228,7 @@ GENsql() {
# ---- main driver ---- # ---- main driver ----
echo -n "# "; date --rfc-2822
echo -n "# "; grep "^model name" /proc/cpuinfo |head -1 |sed -e 's/model name\s*: //' echo -n "# "; grep "^model name" /proc/cpuinfo |head -1 |sed -e 's/model name\s*: //'
echo -n "# "; uname -a echo -n "# "; uname -a
echo -n "# "; python --version echo -n "# "; python --version
...@@ -236,6 +237,7 @@ echo -n "# "; mysqld --version ...@@ -236,6 +237,7 @@ echo -n "# "; mysqld --version
# pyver <egg> (<showas>) - print version of egg # pyver <egg> (<showas>) - print version of egg
pyver() { pyver() {
#return # XXX temp to save time
local egg=$1 local egg=$1
local showas=$2 local showas=$2
test "$showas" == "" && showas=$egg test "$showas" == "" && showas=$egg
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment