From aa08d574615d03c2d6538c902af0550e51d05e30 Mon Sep 17 00:00:00 2001 From: "Joseph.Rawlings" Date: Wed, 24 Dec 2025 02:13:28 +0100 Subject: [PATCH] Update gitapply.sh --- gitapply.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gitapply.sh b/gitapply.sh index 00e9c6391..e957b741d 100755 --- a/gitapply.sh +++ b/gitapply.sh @@ -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." \ No newline at end of file