opencast / opencast-docker

Dockerfiles for Opencast
https://quay.io/organization/opencast/
Educational Community License v2.0
41 stars 36 forks source link

Add gracefull stop handler #34

Closed mtneug closed 7 years ago

mtneug commented 7 years ago

Opencast currently does not handle SIGTERM and SIGINT gracefully. Instead it comes with a stop-opencast script. This pull request sets up a trap in the entrypoint shell script to handle these signals to execute the stop script.