Add site_url_https to change site url with le

This commit is contained in:
VirtuBox
2019-07-25 23:30:33 +02:00
parent 7142d19c5c
commit 71ee3c68d8
2 changed files with 61 additions and 39 deletions

View File

@@ -7,10 +7,10 @@
# Copyright (c) 2019 - WordOps
# This script is licensed under M.I.T
# -------------------------------------------------------------------------
# Version 3.9.6 - 2019-07-24
# Version 3.9.6.3 - 2019-07-25
# -------------------------------------------------------------------------
readonly wo_version_old="2.2.3"
readonly wo_version_new="3.9.6.2"
readonly wo_version_new="3.9.6.3"
# CONTENTS
# ---
# 1. VARIABLES AND DECLARATIONS
@@ -653,12 +653,14 @@ wo_tweak_kernel() {
# apply sysctl tweaks
sysctl -e -p /etc/sysctl.d/60-wo-tweaks.conf
if [ ! -x /opt/wo-kernel.sh ]; then
{
# download and setup wo-kernel systemd service to apply kernel tweaks for netdata and redis on server startup
wget -qO /opt/wo-kernel.sh https://raw.githubusercontent.com/WordOps/WordOps/updating-configuration/wo/cli/templates/wo-kernel-script.mustache
chmod +x /opt/wo-kernel.sh
wget -qO /lib/systemd/system/wo-kernel.service https://raw.githubusercontent.com/WordOps/WordOps/updating-configuration/wo/cli/templates/wo-kernel-service.mustache
systemctl enable wo-kernel.service
systemctl start wo-kernel.service
} >> /var/log/wo/install.log 2>&1
fi
fi