#
# Bash script an easy setup of NextcloudBackup.sh and NextcloudRestore.sh
#
-# Version 2.0.0
+# Version 2.2.0
#
# Usage:
# - call the setup.sh script
echo "Enter the webserver service name."
echo "Usually: nginx or apache2"
echo ""
-read -p "Enter an new webserver service name or press ENTER if the webserver user is ${webserverUser}: " WEBSERVERSERVICENAME
+read -p "Enter an new webserver service name or press ENTER if the webserver service name is ${webserverServiceName}: " WEBSERVERSERVICENAME
[ -z "$WEBSERVERSERVICENAME" ] || webserverServiceName=$WEBSERVERSERVICENAME
clear
echo "Backup directory: ${backupMainDir}"
echo "Nextcloud file directory: ${nextcloudFileDir}"
echo "Webserver user: ${webserverUser}"
+echo "Webserver service name: ${webserverServiceName}"
echo ""
read -p "Is the information correct? [y/N] " CORRECTINFO