/HestiaCP

Primary LanguageHTML

          _______  _______ _________   _        _______
|\     /|(  ___  )(  ____ \\__   __/  ( \      (  ____ )
| )   ( || (   ) || (    \/   ) (     | (      | (    )|
| (___) || |   | || (_____    | |     | |      | (____)|
|  ___  || |   | |(_____  )   | |     | |      |  _____)
| (   ) || |   | |      ) |   | |     | |      | (
| )   ( || (___) |/\____) |   | |     | (____/\| )
|/     \|(_______)\_______)   )_(     (_______/|/
-------------------------------------------------
 HOSTLP -- https://www.hostlp.com.br
-------------------------------------------------

----------------------------------------------------------
---------TROCAR TEMPLATES DOS ERROS DE PAGINAS---------
----------------------------------------------------------

cd /usr/local/hestia/data/templates/web/skel/public_html/
    find . -type f -name "*.html" -exec rename 's/\.html$/.html.bkp/' '{}' \;
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/public_html/index.html

cd /usr/local/hestia/data/templates/web/skel/document_errors/
    find . -type f -name "*.html" -exec rename 's/\.html$/.html.bkp/' '{}' \;
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/document_errors/50x.html
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/document_errors/403.html
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/document_errors/404.html
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/document_errors/410.html

cd /usr/local/hestia/web/error
    find . -type f -name "*.html" -exec rename 's/\.html$/.html.bkp/' '{}' \;
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/document_errors/50x.html
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/document_errors/403.html
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/document_errors/404.html
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/document_errors/410.html

cd /usr/local/hestia/data/templates/web/suspend/
    find . -type f -name "*.html" -exec rename 's/\.html$/.html.bkp/' '{}' \;
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/suspend/index.html

cd /usr/local/hestia/data/templates/web/unassigned/
    find . -type f -name "*.html" -exec rename 's/\.html$/.html.bkp/' '{}' \;
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/unassigned/index.html

cd /var/www/document_errors/
    find . -type f -name "*.html" -exec rename 's/\.html$/.html.bkp/' '{}' \;
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/document_errors/50x.html
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/document_errors/403.html
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/document_errors/404.html
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/document_errors/410.html

cd /var/www/html/
    find . -type f -name "*.html" -exec rename 's/\.html$/.html.bkp/' '{}' \;
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/unassigned/index.html

cd /usr/local/hestia/install/common/templates/web/skel/public_html/
    find . -type f -name "*.html" -exec rename 's/\.html$/.html.bkp/' '{}' \;         
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/skel/index.html

cd /usr/local/hestia/data/templates/web/skel/public_html/
    find . -type f -name "*.html" -exec rename 's/\.html$/.html.bkp/' '{}' \;
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/skel/index.html


----------------------------------------------------------
---------TROCAR TEMPLATES DOS E-MAILS AUTOMATICOS---------
----------------------------------------------------------

cd /usr/local/hestia/data/templates/email/
    find . -type f -name "*.html" -exec rename 's/\.html$/.html.bkp/' '{}' \;
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/email/account_ready.html
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/email/database_credentials.html
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/email/email_credentials.html
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/email/ftp_credentials.html
          wget https://raw.githubusercontent.com/thytetgc/HestiaCP/main/email/reset_password.html