$ cat appleclue.sh
#!/usr/local/bin/bash
source ~/.venv/appleclue/bin/activate
cd ~/applications/appleclue/appleclue-web/
git pull
pip install -r requirements.txt
python3.9 manage.py migrate --noinput
python3.9 manage.py collectstatic --noinput
sudo service gunicorn_appleclue restart
So the last line spawns a daemon (/usr/sbin/daemon), which will keeps running. But it won't return to the shell unless I press enter another time.
Is it possible to tell my script to return to the prompt, without needing to press enter?