mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-30 09:47:17 +00:00
fix: [reset_AIL] launch ardb
This commit is contained in:
parent
21e099a6d6
commit
193e431b76
1 changed files with 4 additions and 0 deletions
|
@ -81,6 +81,9 @@ function soft_reset {
|
||||||
}
|
}
|
||||||
|
|
||||||
function flush_DB_keep_user {
|
function flush_DB_keep_user {
|
||||||
|
bash ${AIL_BIN}LAUNCH.sh -lav &
|
||||||
|
wait
|
||||||
|
echo ""
|
||||||
pushd redis/src
|
pushd redis/src
|
||||||
./redis-cli -p 6382 -n 1 FLUSHDB;
|
./redis-cli -p 6382 -n 1 FLUSHDB;
|
||||||
./redis-cli -p 6382 -n 2 FLUSHDB;
|
./redis-cli -p 6382 -n 2 FLUSHDB;
|
||||||
|
@ -92,6 +95,7 @@ function flush_DB_keep_user {
|
||||||
./redis-cli -p 6382 -n 8 FLUSHDB;
|
./redis-cli -p 6382 -n 8 FLUSHDB;
|
||||||
./redis-cli -p 6382 -n 9 FLUSHDB;
|
./redis-cli -p 6382 -n 9 FLUSHDB;
|
||||||
popd
|
popd
|
||||||
|
bash ${AIL_BIN}LAUNCH.sh -k
|
||||||
}
|
}
|
||||||
|
|
||||||
#If no params,
|
#If no params,
|
||||||
|
|
Loading…
Reference in a new issue