Skip to content

Commit fef7531

Browse files
author
Kristan Kenney
committed
Suppress error from init.d during install on Azure VMs
1 parent ef222e1 commit fef7531

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install/hst-install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,7 @@ if [ "$mysql" = 'yes' ]; then
13241324
cp -f $hestiacp/mysql/$mycnf /etc/mysql/my.cnf
13251325
mysql_install_db >> $LOG
13261326

1327-
update-rc.d mysql defaults
1327+
update-rc.d mysql defaults > /dev/null 2>&1
13281328
service mysql start >> $LOG
13291329
check_result $? "mariadb start failed"
13301330

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1287,7 +1287,7 @@ if [ "$mysql" = 'yes' ]; then
12871287
cp -f $hestiacp/mysql/$mycnf /etc/mysql/my.cnf
12881288
mysql_install_db >> $LOG
12891289

1290-
update-rc.d mysql defaults
1290+
update-rc.d mysql defaults > /dev/null 2>&1
12911291
service mysql start >> $LOG
12921292
check_result $? "mariadb start failed"
12931293

0 commit comments

Comments
 (0)