mirror of
https://github.com/suitenumerique/meet.git
synced 2026-10-07 14:00:56 +00:00
919af928aa
Get the shellcheck CI job to pass again by addressing the issues it flagged across our shell scripts. Note: I am not 100% sure of every fix applied here. Reviewers should feel free to challenge specific changes and suggest better ones where relevant.
16 lines
340 B
Bash
Executable File
16 lines
340 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Start the Django backend server
|
|
gunicorn -b 0.0.0.0:8000 meet.wsgi:application --log-file - &
|
|
|
|
# Start the Nginx server
|
|
bin/run &
|
|
|
|
# if the current shell is killed, also terminate all its children
|
|
trap 'pkill -TERM -P $$' SIGTERM
|
|
|
|
# wait for a single child to finish,
|
|
wait -n
|
|
# then kill all the other tasks
|
|
pkill -P $$
|