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
b99b735082
commit
7f0c1e693c
12
install.sh
12
install.sh
@ -49,7 +49,7 @@ post_install_path="" # not to r
|
||||
# PATHs used throughout the script
|
||||
ETC_DIR="/etc/openpanel/" # https://github.com/stefanpejcic/openpanel-configuration
|
||||
LOG_FILE="openpanel_install.log" # install log # install running
|
||||
SERVICES_DIR="/etc/systemd/system/" # used for admin, sentinel and floatingip services
|
||||
SERVICES_DIR="/etc/systemd/system/" # used for admin and sentinel services
|
||||
CONFIG_FILE="${ETC_DIR}openpanel/conf/openpanel.config" # main config file for openpanel
|
||||
|
||||
exec > >(tee -a "$LOG_FILE") 2>&1
|
||||
@ -1392,19 +1392,9 @@ download_skeleton_directory_from_github(){
|
||||
radovan 1 "Downloading configuration files from GitHub failed after $MAX_RETRIES attempts, main conf file ${CONFIG_FILE} is missing."
|
||||
fi
|
||||
|
||||
# added in 1.2.1
|
||||
chmod a+x ${ETC_DIR}wordpress/wp-cli.phar
|
||||
|
||||
# added in 0.2.9
|
||||
chmod +x /etc/openpanel/ftp/start_vsftpd.sh
|
||||
|
||||
# added in 0.2.6
|
||||
cp -fr /etc/openpanel/services/floatingip.service ${SERVICES_DIR}floatingip.service > /dev/null 2>&1
|
||||
systemctl daemon-reload > /dev/null 2>&1
|
||||
systemctl start floatingip > /dev/null 2>&1
|
||||
systemctl enable floatingip > /dev/null 2>&1
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user