Update init

This commit is contained in:
Dai Nguyen
2025-10-10 10:31:26 -06:00
parent 511b29689c
commit 0d6aea4212

6
init
View File

@@ -73,4 +73,8 @@ chown www-data:www-data -R /var/www
chmod -R g+w /var/www/$WP_DOMAIN_NAME chmod -R g+w /var/www/$WP_DOMAIN_NAME
find /var/www -type d -exec chmod 755 {} \; find /var/www -type d -exec chmod 755 {} \;
find /var/www -type f -exec chmod 644 {} \; find /var/www -type f -exec chmod 644 {} \;
EOF EOF
# Cloudflared
curl --location --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && sudo dpkg -i cloudflared.deb
sudo systemctl restart cloudflared.service