mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-26 12:33:09 +08:00
8 lines
366 B
Bash
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" |