Skip to content
Snippets Groups Projects
Verified Commit 4b56043e authored by David Beniamine's avatar David Beniamine
Browse files

Merge branch 'master' of...

parents ad3a2c8d fabc5720
Branches github
No related tags found
No related merge requests found
......@@ -43,3 +43,10 @@ services="`checkrestart | awk '/^service/{print $2} /^systemctl/{print $3}'` \
$EXTRAS_SERVICES_TO_RESTART"
[ ! -z "$services" ] && systemctl restart $services
checkrestart
echo -e "\tPlease check that the following services are up and running"
if [ "${WEB_SERVER}" == "apache2" ]
then
apache2ctl -S 2>/dev/null | awk '/namevhost/{print "https://"$4}' | sort -u | grep -v "127.0...1"
else
awk '/^[ \t]*(server_name|server_alias)/{gsub(/;$/, "", $2); print "https://"$2}' /etc/nginx/*-enabled/* | sort -u
fi
......@@ -89,5 +89,4 @@ then
echo "Failed to enable some apps: '$FAILED'"
fi
echo "Please check difference between old and new .htaccess file"
vimdiff $NEXTCLOUD_INSTALL_DIR{,.bak}/.htacess
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment