mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update INSTALL.sh
This commit is contained in:
parent
09b5377c75
commit
192b5ba07d
16
INSTALL.sh
16
INSTALL.sh
@ -241,7 +241,8 @@ FUNCTIONS=(
|
|||||||
setup_email
|
setup_email
|
||||||
install_all_locales
|
install_all_locales
|
||||||
helper_function_for_nginx_on_aws_and_azure
|
helper_function_for_nginx_on_aws_and_azure
|
||||||
|
temp_fix_for_skeleton
|
||||||
|
setup_swap
|
||||||
configure_mysql
|
configure_mysql
|
||||||
|
|
||||||
start_services
|
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(){
|
setup_swap(){
|
||||||
# Function to create swap file
|
# Function to create swap file
|
||||||
create_swap() {
|
create_swap() {
|
||||||
@ -1456,8 +1468,6 @@ main
|
|||||||
|
|
||||||
send_install_log
|
send_install_log
|
||||||
|
|
||||||
setup_swap
|
|
||||||
|
|
||||||
rm_helpers
|
rm_helpers
|
||||||
|
|
||||||
print_space_and_line
|
print_space_and_line
|
||||||
|
Loading…
Reference in New Issue
Block a user