fix
This commit is contained in:
1 parent
894c107e22
commit
e17b863b7b
4 files changed
+32
-17
No files matched your search
Executable
+25
@@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
|
||||
docker compose down
|
||||
|
||||
msg() {
|
||||
>&2 printf '[*] %s\n' "$*"
|
||||
}
|
||||
|
||||
dir=/mnt/images
|
||||
|
||||
if umount "$dir" ; then
|
||||
msg "unmounted $dir"
|
||||
else
|
||||
msg "failed to unmount $dir!"
|
||||
fi
|
||||
|
||||
if mount "$dir" ; then
|
||||
msg "mounted $dir"
|
||||
else
|
||||
msg "failed to unmount $dir!"
|
||||
fi
|
||||
|
||||
docker compose pull
|
||||
docker compose up -d
|
||||
|
||||
Reference in new issue
Block a user