File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1211,6 +1211,9 @@ if [ "$apache" = 'yes' ]; then
12111211 update-rc.d apache2 defaults > /dev/null 2>&1
12121212 systemctl start apache2 >> $LOG
12131213 check_result $? " apache2 start failed"
1214+ else
1215+ update-rc.d apache2 disable > /dev/null 2>&1
1216+ systemctl stop apache2 > /dev/null 2>&1
12141217fi
12151218
12161219
Original file line number Diff line number Diff line change 11181118# Install dhparam.pem
11191119cp -f $HESTIA_INSTALL_DIR /ssl/dhparam.pem /etc/ssl
11201120
1121+
11211122# ----------------------------------------------------------#
11221123# Configure Nginx #
11231124# ----------------------------------------------------------#
@@ -1183,6 +1184,9 @@ if [ "$apache" = 'yes' ]; then
11831184 update-rc.d apache2 defaults > /dev/null 2>&1
11841185 systemctl start apache2 >> $LOG
11851186 check_result $? " apache2 start failed"
1187+ else
1188+ update-rc.d apache2 disable > /dev/null 2>&1
1189+ systemctl stop apache2 > /dev/null 2>&1
11861190fi
11871191
11881192
You can’t perform that action at this time.
0 commit comments