mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: [Updater] force updater update
This commit is contained in:
parent
0d47c6efd3
commit
8bbf83ce5f
4 changed files with 9 additions and 5 deletions
4
update/v1.0/Update.sh
Executable file
4
update/v1.0/Update.sh
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# fix invalid Updater version (kill parent):
|
||||||
|
kill -SIGUSR1 `ps --pid $$ -oppid=`; exit
|
|
@ -52,7 +52,7 @@ echo ""
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo -e $GREEN"Shutting down ARDB ..."$DEFAULT
|
echo -e $GREEN"Shutting down ARDB ..."$DEFAULT
|
||||||
bash ${AIL_BIN}/LAUNCH.sh -k &
|
bash ${AIL_BIN}/LAUNCH.sh -ks &
|
||||||
wait
|
wait
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
|
@ -16,7 +16,7 @@ GREEN="\\033[1;32m"
|
||||||
DEFAULT="\\033[0;39m"
|
DEFAULT="\\033[0;39m"
|
||||||
|
|
||||||
echo -e $GREEN"Shutting down AIL ..."$DEFAULT
|
echo -e $GREEN"Shutting down AIL ..."$DEFAULT
|
||||||
bash ${AIL_BIN}/LAUNCH.sh -k &
|
bash ${AIL_BIN}/LAUNCH.sh -ks &
|
||||||
wait
|
wait
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
@ -51,7 +51,7 @@ echo ""
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo -e $GREEN"Shutting down ARDB ..."$DEFAULT
|
echo -e $GREEN"Shutting down ARDB ..."$DEFAULT
|
||||||
bash ${AIL_BIN}/LAUNCH.sh -k &
|
bash ${AIL_BIN}/LAUNCH.sh -ks &
|
||||||
wait
|
wait
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
|
@ -16,7 +16,7 @@ GREEN="\\033[1;32m"
|
||||||
DEFAULT="\\033[0;39m"
|
DEFAULT="\\033[0;39m"
|
||||||
|
|
||||||
echo -e $GREEN"Shutting down AIL ..."$DEFAULT
|
echo -e $GREEN"Shutting down AIL ..."$DEFAULT
|
||||||
bash ${AIL_BIN}/LAUNCH.sh -k
|
bash ${AIL_BIN}/LAUNCH.sh -ks
|
||||||
wait
|
wait
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
@ -69,7 +69,7 @@ python3 ${AIL_FLASK}create_default_user.py
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo -e $GREEN"Shutting down ARDB ..."$DEFAULT
|
echo -e $GREEN"Shutting down ARDB ..."$DEFAULT
|
||||||
bash ${AIL_BIN}/LAUNCH.sh -k
|
bash ${AIL_BIN}/LAUNCH.sh -ks
|
||||||
wait
|
wait
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue