Skip to content

Commit 540f9c0

Browse files
committed
Adjust apache2 start routine for ubuntu 20.04.
1 parent a5d9ef1 commit 540f9c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,9 +1178,9 @@ if [ "$apache" = 'yes' ]; then
11781178

11791179
if [ "$release" != '20.04' ]; then
11801180
update-rc.d apache2 defaults > /dev/null 2>&1
1181+
systemctl start apache2 >> $LOG
1182+
check_result $? "apache2 start failed"
11811183
fi
1182-
systemctl start apache2 >> $LOG
1183-
check_result $? "apache2 start failed"
11841184
else
11851185
update-rc.d apache2 disable > /dev/null 2>&1
11861186
systemctl stop apache2 > /dev/null 2>&1

0 commit comments

Comments
 (0)