Skip to content

Commit 9655c3c

Browse files
committed
Small changes to supress output.
1 parent 9d41b23 commit 9655c3c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

install/hst-install-debian.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,13 +1269,13 @@ fi
12691269
#----------------------------------------------------------#
12701270

12711271
if [ "$spamd" = 'yes' ]; then
1272-
update-rc.d spamassassin defaults
1272+
update-rc.d spamassassin defaults > /dev/null 2>&1
12731273
sed -i "s/ENABLED=0/ENABLED=1/" /etc/default/spamassassin
1274-
service spamassassin start
1274+
service spamassassin start > /dev/null 2>&1
12751275
check_result $? "spamassassin start failed"
12761276
unit_files="$(systemctl list-unit-files |grep spamassassin)"
12771277
if [[ "$unit_files" =~ "disabled" ]]; then
1278-
systemctl enable spamassassin
1278+
systemctl enable spamassassin > /dev/null 2>&1
12791279
fi
12801280
fi
12811281

@@ -1466,7 +1466,7 @@ if [ "$apache" = 'yes' ] && [ "$nginx" = 'yes' ] ; then
14661466
fi
14671467
echo "</IfModule>" >> remoteip.conf
14681468
sed -i "s/LogFormat \"%h/LogFormat \"%a/g" /etc/apache2/apache2.conf
1469-
a2enmod remoteip
1469+
a2enmod remoteip > /dev/null 2>&1
14701470
service apache2 restart
14711471
fi
14721472

0 commit comments

Comments
 (0)