diff --git a/init b/init index df075db..f3f481d 100755 --- a/init +++ b/init @@ -73,4 +73,8 @@ chown www-data:www-data -R /var/www chmod -R g+w /var/www/$WP_DOMAIN_NAME find /var/www -type d -exec chmod 755 {} \; find /var/www -type f -exec chmod 644 {} \; -EOF \ No newline at end of file +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