File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments