Merge branch 'main' of github.com:koush/scrypted

This commit is contained in:
Koushik Dutta
2024-10-09 10:39:57 -07:00
2 changed files with 4 additions and 4 deletions

View File

@@ -154,5 +154,5 @@ echo "Note that it is https and that you'll be asked to approve/ignore the websi
echo
echo
echo "Optional:"
echo "Scrypted NVR Recording storage directory can be configured with an additional script:"
echo "https://docs.scrypted.app/scrypted-nvr/installation.html#docker-volume"
echo "Scrypted NVR Recording storage directory can be configured with an additional script located at:"
echo "https://docs.scrypted.app/scrypted-nvr/recording-storage.html#docker-volume"

View File

@@ -10,10 +10,10 @@ export DEBIAN_FRONTEND=noninteractive
if [ -e "volume/.pull" ]
then
rm -rf volume/.pull
docker compose pull && docker container prune && docker image prune -a
docker compose pull && docker container prune -f && docker image prune -a -f
else
# always background pull in case there's a broken image.
(docker compose pull && docker container prune && docker image prune -a) &
(docker compose pull && docker container prune -f && docker image prune -a -f) &
fi
# do not daemonize, when it exits, systemd will restart it.