|
|
@ -11,9 +11,9 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
name="redis-shake" |
|
|
|
name="redis-shake" |
|
|
|
|
|
|
|
|
|
|
|
if [ "Darwin" == "$(uname -s)" ];then |
|
|
|
if [ "Linux" != "$(uname -s)" ];then |
|
|
|
printf "\\nWARNING !!! MacOs doesn't supply to use this script, please use \"./%s -conf=config_file_name\" manual command to run\\n" "$name" |
|
|
|
printf "\\nWARNING !!! MacOs doesn't supply to use this script, please use \"./%s -conf=config_file_name\" manual command to run\\n" "$name" |
|
|
|
exit 1 |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
./hypervisor --daemon --exec="./$name -conf=$1 -type=$2 1>>$name.output 2>&1" 1>>hypervisor.output 2>&1 |
|
|
|
./hypervisor --daemon --exec="./$name.linux -conf=$1 -type=$2 1>>$name.output 2>&1" 1>>hypervisor.output 2>&1 |
|
|
|