mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-07-01 18:30:34 +00:00
Restructure startup procedure
This commit is contained in:
4
boot.sh
4
boot.sh
@ -13,7 +13,7 @@ display_help() {
|
||||
echo "Run '${script_name} COMMAND --help' for more information on a command."
|
||||
}
|
||||
|
||||
if [[ "${#}" -eq 0 ]]; then
|
||||
if [[ "${#}" == "0" ]]; then
|
||||
if [[ "${NOPAQUE_IS_PRIMARY_INSTANCE:-True}" == "True" ]]; then
|
||||
while true; do
|
||||
flask deploy
|
||||
@ -26,7 +26,7 @@ if [[ "${#}" -eq 0 ]]; then
|
||||
fi
|
||||
python3 nopaque.py
|
||||
elif [[ "${1}" == "flask" ]]; then
|
||||
flask "${@:2}"
|
||||
flask ${@:2}
|
||||
elif [[ "${1}" == "--help" || "${1}" == "-h" ]]; then
|
||||
display_help
|
||||
else
|
||||
|
Reference in New Issue
Block a user