fix: change image-updater to be oneshot unit
This commit is contained in:
Regular → Executable
+2
-3
@@ -1,6 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
while true; do
|
until docker pull git.sfclub.cc/cloud/workspace-image:latest >/dev/null 2>&1; do
|
||||||
docker pull git.sfclub.cc/cloud/workspace-image:latest
|
sleep 3
|
||||||
sleep 3600
|
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user