Update gitapply.sh

This commit is contained in:
2025-12-24 02:13:28 +01:00
parent 80373d1380
commit aa08d57461

View File

@@ -1 +1,12 @@
cd /var/www/paymenter && git pull && php artisan view:clear && php artisan cache:clear && sudo systemctl restart php8.3-fpm
echo "Virtnet.bond Paymenter Load Balancer Git Repository Update and Apply"
echo "https://gitea.virtnet.bond/Joseph.Rawlings/Virtnet.bond/"
sleep_time=$((RANDOM % 5 + 1))
cd /var/www/paymenter
echo "Sleeping for $sleep_time seconds..."
sleep "$sleep_time"
git pull
php artisan view:clear
php artisan cache:clear
systemctl restart php8.3-fpm
echo "\n\n"
echo "Paymenter has been updated successfully."