Update gitapplyfast.sh
This commit is contained in:
@@ -246,7 +246,7 @@ run_remote_update() {
|
||||
|
||||
# FAST MODE: Skip npm update, npm upgrade, and composer upgrade
|
||||
ssh -o StrictHostKeyChecking=no -o ConnectTimeout=10 -o BatchMode=yes -i "$SSH_KEY" root@"$node" \
|
||||
'cd /var/www/paymenter && git pull && php artisan view:clear && php artisan cache:clear && php artisan optimize && while ! systemctl restart php8.3-fpm 2>/dev/null; do echo "PHP-FPM restart failed, running optimize and retrying..."; php artisan optimize; sleep 1; done' \
|
||||
'cd /var/www/paymenter && git reset --hard && git pull --rebase && git pull && php artisan view:clear && php artisan cache:clear && php artisan optimize && while ! systemctl restart php8.3-fpm 2>/dev/null; do echo "PHP-FPM restart failed, running optimize and retrying..."; php artisan optimize; sleep 1; done' \
|
||||
> "$STATUS_DIR/${node}.log" 2>&1
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user