Update gitapply.sh
This commit is contained in:
13
gitapply.sh
13
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."
|
||||
Reference in New Issue
Block a user