inital commit

This commit is contained in:
2026-06-19 20:08:01 +06:00
commit 8a5abeeae4
13128 changed files with 3192007 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/bash
# copies the project directory from 100 server to 98 and 114
function deploy() {
#chown root:root /var/www/html/ -R;
#find /var/www/html/ -type d -exec chmod 777 {} \;
rsync -avzhe ssh --owner --group --progress --recursive --files-from="include.txt" --exclude-from="exclude.txt" "/var/www/html/" "root@45.55.43.211:/var/www/html/"
pssh -A -i -H "45.55.43.211" -l root 'chown -R www-data:www-data /var/www/html && chmod -R 1777 /var/www/html/webroot && chmod -R 1777 /var/www/html/webroot/*'
}