forked from Docker/baseimage-docker
When a container is stopped with 'docker stop', SIGTERM is sent to the init process. Unfortunately neither bash nor runit-init handle that correctly, so we write our own init system in Python that also waits for all services to shutdown.
1.6 KiB
Executable File
1.6 KiB
Executable File