websoft9/docker/apphub/script/update.sh
2023-10-30 11:33:07 +08:00

8 lines
366 B
Bash

#!/bin/bash
echo "$(date) - Compare remote version and local version" | tee -a /var/log/supervisord.log
echo "$(date) - Download remote packages and replace local data" | tee -a /var/log/supervisord.log
bash upgrade_zip.sh --package_name "media.zip" --sync_to "/websoft9/media"
bash upgrade_zip.sh --package_name "docker-library.zip" --sync_to "/websoft9/library"