llm, go ahead and do the Docker image updates at the beginning rather than waiting since it's now a loop.
This commit is contained in:
1 parent
8abe634c42
commit
95542ec233
1 file changed
+2
-2
@@ -429,9 +429,9 @@
|
|||||||
# Check for any new updates in the background.
|
# Check for any new updates in the background.
|
||||||
(
|
(
|
||||||
while true; do
|
while true; do
|
||||||
sleep 600
|
|
||||||
echo "RUN: Checking for updates..."
|
echo "RUN: Checking for updates..."
|
||||||
docker pull $image
|
docker pull $image
|
||||||
|
sleep 600
|
||||||
done
|
done
|
||||||
) &
|
) &
|
||||||
LOOP_PID=$!
|
LOOP_PID=$!
|
||||||
@@ -802,11 +802,11 @@
|
|||||||
# Check for any new updates in the background.
|
# Check for any new updates in the background.
|
||||||
(
|
(
|
||||||
while true; do
|
while true; do
|
||||||
sleep 600
|
|
||||||
echo "RUN: Checking for updates..."
|
echo "RUN: Checking for updates..."
|
||||||
docker compose \
|
docker compose \
|
||||||
-f /usr/local/etc/open-terminal/compose.yml \
|
-f /usr/local/etc/open-terminal/compose.yml \
|
||||||
build --pull
|
build --pull
|
||||||
|
sleep 600
|
||||||
done
|
done
|
||||||
) &
|
) &
|
||||||
LOOP_PID=$!
|
LOOP_PID=$!
|
||||||
|
|||||||
Reference in new issue
Block a user