Commit 97492438 authored by w4t's avatar w4t

wtserver 0.42

parent 1dbe0b36
......@@ -3,7 +3,7 @@
# Install and configure SQL Server (MySQL or MariaDB)
#---------------------------------------------------------------------
InstallSQLServer() {
local START_TIME=$(date +%s)
local START_TIME=$SECONDS
if [ $CFG_SQLSERVER == "MySQL" ]; then
echo -n -e "$IDENTATION_LVL_0 ${BWhite}Installing MySQL${NC}\n"
......
......@@ -240,6 +240,7 @@ EOF
?>
EOF
mkdir -p "$STORAGE_ROOT/nextcloud"
# Set permissions
chown -R www-data:www-data "$STORAGE_ROOT/nextcloud" $CLOUD_DIR
......
......@@ -3,6 +3,8 @@
# Install and configure Apache2, Nginx, PHP + modules, and security
#--------------------------------------------------------------------
InstallWebServer() {
local START_TIME=$SECONDS
echo -n -e "$IDENTATION_LVL_0 ${BWhite}Installing Web server...${NC}\n"
if [ "$CFG_WEBSERVER" == "apache" ]; then
CFG_NGINX=n
......@@ -378,4 +380,6 @@ EOF
if [ "$CFG_CERTBOT_VERSION" != "None" ]; then
InstallLetsEncrypt
fi
MeasureTimeDuration $START_TIME
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment