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