Update INSTALL.sh

This commit is contained in:
Stefan Pejcic 2024-06-03 21:21:37 +02:00 committed by GitHub
parent 2f5f9577d3
commit 484cd20386
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -783,6 +783,9 @@ run_mysql_docker_container() {
rm /etc/my.cnf
fi
# fix for 0.2.0
mkdir -p /etc/openpanel/openadmin/config
cp /usr/local/admin/db.cnf /etc/openpanel/openadmin/config/db.cnf
ln -s /etc/openpanel/openadmin/config/db.cnf /etc/my.cnf
# Update configuration files with new password
@ -1266,14 +1269,14 @@ set_email_address_and_email_admin_logins(){
}
server_hostname=$(hostname)
email_notification "OpenPanel successfully installed on [ $server_hostname ]" "OpenAdmin URL: http://$server_hostname:2087/ | username: admin | password: $admin_password"
email_notification "OpenPanel successfully installed" "OpenAdmin URL: http://stefan:2087/ | username: admin | password: N2eyODaTfBpfRxRj"
else
echo "Address provided: $EMAIL is not a valid email address. Admin login credentials and future notifications will not be sent."
fi
fi
}
OpenAdmin URL: http://stefan:2087/ | username: admin | password: N2eyODaTfBpfRxRj
generate_and_set_ssl_for_panels() {
if [ -z "$SKIP_SSL" ]; then