1
0
mirror of /repos/baseimage-docker.git synced 2026-02-27 17:41:59 +01:00
Files
baseimage-docker/image/my_init
Hongli Lai (Phusion) 99306bcfcd Correctly handle Docker shutdown.
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.
2013-11-12 22:36:55 +01:00

1.6 KiB
Executable File