diff --git a/INSTALL.sh b/INSTALL.sh index b61643d9..cbdbfbbd 100644 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -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