Fix start_db.sh again

This commit is contained in:
Fabio Giovanazzi 2025-08-02 01:09:45 +02:00
parent 90d3c9b7f5
commit e646dd9d83
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23

View file

@ -32,8 +32,8 @@ elif [[ $# == 1 ]] && [[ $1 == "run" ]]; then
elif [[ $# == 1 ]] && [[ $1 == "run_without_output" ]]; then
echo "Processing updates and running server without output"
pushd src 2>&1 > /dev/null
python manage.py processupdates 2>&1 | (grep -e "^ERROR" -e "^WARNING" -e "^HTTP" || true)
python manage.py runserver 2>&1 | (grep -e "^ERROR" -e "^WARNING" -e "^HTTP" || true)
python manage.py processupdates 2>&1 | (grep -v "^DEBUG " || true)
python manage.py runserver 2>&1 | (grep -v "^DEBUG " || true)
popd 2>&1 > /dev/null
elif [[ $# > 0 ]] && [[ $1 == "manage" ]]; then
pushd src