fix: [Updater] force updater update

pull/486/head
Terrtia 2020-02-25 17:08:01 +01:00
parent 0d47c6efd3
commit 8bbf83ce5f
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
4 changed files with 9 additions and 5 deletions

4
update/v1.0/Update.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
# fix invalid Updater version (kill parent):
kill -SIGUSR1 `ps --pid $$ -oppid=`; exit

View File

@ -52,7 +52,7 @@ echo ""
echo ""
echo -e $GREEN"Shutting down ARDB ..."$DEFAULT
bash ${AIL_BIN}/LAUNCH.sh -k &
bash ${AIL_BIN}/LAUNCH.sh -ks &
wait
echo ""

View File

@ -16,7 +16,7 @@ GREEN="\\033[1;32m"
DEFAULT="\\033[0;39m"
echo -e $GREEN"Shutting down AIL ..."$DEFAULT
bash ${AIL_BIN}/LAUNCH.sh -k &
bash ${AIL_BIN}/LAUNCH.sh -ks &
wait
echo ""
@ -51,7 +51,7 @@ echo ""
echo ""
echo -e $GREEN"Shutting down ARDB ..."$DEFAULT
bash ${AIL_BIN}/LAUNCH.sh -k &
bash ${AIL_BIN}/LAUNCH.sh -ks &
wait
echo ""

View File

@ -16,7 +16,7 @@ GREEN="\\033[1;32m"
DEFAULT="\\033[0;39m"
echo -e $GREEN"Shutting down AIL ..."$DEFAULT
bash ${AIL_BIN}/LAUNCH.sh -k
bash ${AIL_BIN}/LAUNCH.sh -ks
wait
echo ""
@ -69,7 +69,7 @@ python3 ${AIL_FLASK}create_default_user.py
echo ""
echo -e $GREEN"Shutting down ARDB ..."$DEFAULT
bash ${AIL_BIN}/LAUNCH.sh -k
bash ${AIL_BIN}/LAUNCH.sh -ks
wait
exit 0