pass sigterm to supervisor
This commit is contained in:
parent
cce0bc4c3f
commit
bbefb18e7b
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Cleanly kill supervisor when container is stopped
|
||||||
|
trap 'kill $(jobs -p)' EXIT
|
||||||
|
|
||||||
if [ ! -f /home/admin/znc_configured ]; then
|
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."
|
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
|
read
|
||||||
|
|
Loading…
Reference in New Issue