git-server-docker
git-server-docker copied to clipboard
Kill sshd on SIGTERM instead of waiting for docker stop timeout.
Since sh
ignores SIGTERM, docker stop
must wait for the timeout (default ten seconds). By passing SIGTERM through to sshd
, this wait is avoided.
Why not use tini? https://github.com/krallin/tini