File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1269,13 +1269,13 @@ fi
12691269# ----------------------------------------------------------#
12701270
12711271if [ " $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
12801280fi
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
14711471fi
14721472
You can’t perform that action at this time.
0 commit comments