Skip to content

Commit 7651db5

Browse files
committed
Supress apache2 and postgresql messages during installation.
1 parent 79f2674 commit 7651db5

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
@@ -1355,7 +1355,7 @@ if [ "$postgresql" = 'yes' ]; then
13551355
ppass=$(gen_pass)
13561356
cp -f $HESTIA_INSTALL_DIR/postgresql/pg_hba.conf /etc/postgresql/*/main/
13571357
systemctl restart postgresql
1358-
sudo -iu postgres psql -c "ALTER USER postgres WITH PASSWORD '$ppass'"
1358+
sudo -iu postgres psql -c "ALTER USER postgres WITH PASSWORD '$ppass'" > /dev/null 2>&1
13591359

13601360
# Configuring phpPgAdmin
13611361
if [ "$apache" = 'yes' ]; then
@@ -1535,7 +1535,7 @@ if [ "$dovecot" = 'yes' ] && [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
15351535
phpenmod mcrypt > /dev/null 2>&1
15361536

15371537
# Restart services
1538-
if [ "$apache" = 'yes' ]; then
1538+
if [ "$apache" = 'yes' ] && [ "$release" != '20.04' ]; then
15391539
systemctl restart apache2 >> $LOG
15401540
fi
15411541
if [ "$nginx" = 'yes' ]; then

0 commit comments

Comments
 (0)