aaronwmorris / indi-allsky

Software to manage a Linux-based All Sky Camera.
GNU General Public License v3.0
252 stars 41 forks source link

fix(docker): properly pass control down to processes #1618

Closed USA-RedDragon closed 1 week ago

USA-RedDragon commented 1 week ago

Without execing the process, the process will not be able to receive signals such as SIGINT from the parent process and instead the shell scripts receive the signal. This is important for the gunicorn/capture/indiserver processes to be able to receive signals to terminate gracefully, otherwise the shell script will exit leaving the gunicorn/capture/indiserver process, then eventually the timeout will be reached and the container will be killed forcefully.