From c5736708218c78e67422aadaba256f8a6802e076 Mon Sep 17 00:00:00 2001 From: EinerVonVielen Date: Sun, 13 Mar 2016 16:32:34 +0100 Subject: Install script: Added plugin hubsites and stop of apache, mysql --- .homeinstall/hubzilla-setup.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to '.homeinstall/hubzilla-setup.sh') diff --git a/.homeinstall/hubzilla-setup.sh b/.homeinstall/hubzilla-setup.sh index 87b0e8f79..01acb1ec9 100755 --- a/.homeinstall/hubzilla-setup.sh +++ b/.homeinstall/hubzilla-setup.sh @@ -224,6 +224,19 @@ function print_warn { echo -e '\e[0m' } +function stop_hubzilla { + if [ -d /etc/apache2 ] + then + print_info "stopping apache webserver..." + service apache2 stop + fi + if [ -f /etc/init.d/mysql ] + then + print_info "stopping mysql db..." + /etc/init.d/mysql stop + fi +} + function install_apache { print_info "installing apache..." nocheck_install "apache2 apache2-utils" @@ -906,6 +919,7 @@ sslconf=/etc/apache2/sites-available/default-ssl.conf #set -x # activate debugging from here check_config +stop_hubzilla update_upgrade install_curl install_sendmail -- cgit v1.2.3