This commit is contained in:
wvr
2026-02-28 07:36:36 -06:00
parent 894c107e22
commit e17b863b7b
4 changed files with 32 additions and 17 deletions

25
photoview/fix.sh Executable file
View File

@@ -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