Update INSTALL.sh

This commit is contained in:
Stefan Pejcic 2024-06-04 14:20:36 +02:00 committed by GitHub
parent 09b5377c75
commit 192b5ba07d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -241,7 +241,8 @@ FUNCTIONS=(
setup_email
install_all_locales
helper_function_for_nginx_on_aws_and_azure
temp_fix_for_skeleton
setup_swap
configure_mysql
start_services
@ -1329,6 +1330,17 @@ rm_helpers(){
temp_fix_for_skeleton() {
echo "Creating 'skeleton' directory with configuration files that will be used for new users.."
mkdir -p /etc/openpanel/openadmin/skeleton/
touch /etc/openpanel/openadmin/skeleton/domains
touch /etc/openpanel/openadmin/skeleton/elastic.lock
touch /etc/openpanel/openadmin/skeleton/redis.lock
touch /etc/openpanel/openadmin/skeleton/memcached.lock
touch /etc/openpanel/openadmin/skeleton/server_config.yml
}
setup_swap(){
# Function to create swap file
create_swap() {
@ -1456,8 +1468,6 @@ main
send_install_log
setup_swap
rm_helpers
print_space_and_line