pass sigterm to supervisor

This commit is contained in:
dpedu 2015-02-27 15:39:46 -08:00
parent cce0bc4c3f
commit bbefb18e7b
1 changed files with 3 additions and 0 deletions

3
start Normal file → Executable file
View File

@ -1,5 +1,8 @@
#!/bin/bash
# Cleanly kill supervisor when container is stopped
trap 'kill $(jobs -p)' EXIT
if [ ! -f /home/admin/znc_configured ]; then
echo "Welcome! I need to ask you a few questions to configure this ZNC instance for your liking. First, press enter choose and choose a time zone."
read