Save streamdata on stop

This commit is contained in:
Alexandre
2024-05-01 15:51:38 +02:00
committed by GitHub
parent f894721bf3
commit 77900d6918

View File

@@ -1,4 +1,6 @@
#!/usr/bin/bashio
if [ -d /tmp/StreamData ]; then
bashio::log.fatal "Container stopping, saving temporary files"
# Stop the services in parallel
@@ -12,3 +14,4 @@ if [ "$(ls -A /tmp/StreamData)" ]; then
fi
bashio::log.fatal "... files safe, allowing container to stop"
fi