mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-08 15:01:00 +02:00
Trap sigterm
This commit is contained in:
@@ -84,7 +84,9 @@ if [ "$$" -eq 1 ]; then
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
trap terminate SIGTERM
|
trap terminate SIGTERM
|
||||||
while :; do sleep infinity & wait $!; done
|
while :; do
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
else
|
else
|
||||||
echo " "
|
echo " "
|
||||||
echo -e "\033[0;32mStarting the upstream container\033[0m"
|
echo -e "\033[0;32mStarting the upstream container\033[0m"
|
||||||
|
|||||||
Reference in New Issue
Block a user