Nold360 / docker-borgserver

Dockerimage that runs a Borg backup server, accessible by ssh using publickey authentication
40 stars 24 forks source link

Fix for Issue #21 - container not following SIGTERM signals to close … #24

Open ZackEndboss opened 4 months ago

ZackEndboss commented 4 months ago

if the processes of the container are called under bash -c because the SIGTERM signals are not passed on to processes.

Apparently ENTRYPOINT /run.sh wraps /run.sh in bash -c

and

ENTRYPOINT [“/run.sh”] doesn’t

Thanks to @andrewcrook #21