File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -973,9 +973,8 @@ cp -rf $hestiacp/packages $HESTIA/data/
973973# Installing templates
974974cp -rf $hestiacp /templates $HESTIA /data/
975975
976- # Copying index.html to default documentroot
977- cp $HESTIA /data/templates/web/skel/public_html/index.html /var/www/
978- sed -i ' s/%domain%/It worked!/g' /var/www/index.html
976+ # Copy default "Success" page for unassigned hosts
977+ cp -rf $hestiacp /templates/web/unassigned/* /var/www/
979978
980979# Installing firewall rules
981980cp -rf $hestiacp /firewall $HESTIA /data/
Original file line number Diff line number Diff line change @@ -947,7 +947,7 @@ cp -rf $hestiacp/packages $HESTIA/data/
947947cp -rf $hestiacp /templates $HESTIA /data/
948948
949949# Copy default "Success" page for unassigned hosts
950- cp -rf $HESTIA /data /templates/web/unassigned/* /var/www/
950+ cp -rf $hestiacp /templates/web/unassigned/* /var/www/
951951
952952# Installing firewall rules
953953cp -rf $hestiacp /firewall $HESTIA /data/
Original file line number Diff line number Diff line change @@ -68,4 +68,8 @@ if [ ! -z "$BACKEND_PORT" ]; then
6868 /usr/local/hestia/bin/v-change-sys-port $BACKEND_PORT
6969fi
7070
71+ # Update Web and DNS templates
72+ rm -rf /usr/local/hestia/data/templates/*
73+ cp -rf /usr/local/hestia/install/ubuntu/18.04/templates/* /usr/local/hestia/data/templates/
74+
7175exit 0
You can’t perform that action at this time.
0 commit comments