mirror of
https://github.com/koush/scrypted.git
synced 2026-09-17 17:20:39 +01:00
Merge branch 'main' of github.com:koush/scrypted
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user