|
266 | 266 | # Check if apt-transport-https is installed |
267 | 267 | if [ ! -e '/usr/lib/apt/methods/https' ]; then |
268 | 268 | echo "Install missing apt-transport-https..." |
269 | | - apt-get -y install apt-transport-https > /dev/null 2>&1 |
| 269 | + apt-get -y install apt-transport-https > /dev/null 2>&1 |
270 | 270 | check_result $? "Can't install apt-transport-https" |
271 | 271 | fi |
272 | 272 |
|
@@ -969,8 +969,8 @@ if [ "$apache" = 'yes' ]; then |
969 | 969 | service apache2 start > /dev/null 2>&1 |
970 | 970 | check_result $? "apache2 start failed" |
971 | 971 | else |
972 | | - update-rc.d apache2 disable > /dev/null 2>&1 |
973 | | - service apache2 stop > /dev/null 2>&1 |
| 972 | + update-rc.d apache2 disable > /dev/null 2>&1 |
| 973 | + service apache2 stop > /dev/null 2>&1 |
974 | 974 | fi |
975 | 975 |
|
976 | 976 |
|
@@ -1214,10 +1214,9 @@ if [ "$clamd" = 'yes' ]; then |
1214 | 1214 | gpasswd -a clamav Debian-exim > /dev/null 2>&1 |
1215 | 1215 | cp -f $hestiacp/clamav/clamd.conf /etc/clamav/ |
1216 | 1216 | update-rc.d clamav-daemon defaults |
1217 | | - service clamav-daemon start |
1218 | 1217 | echo "Updating ClamAV..." |
1219 | | - /usr/bin/freshclam > /dev/null 2>&1 |
1220 | | - service clamav-daemon restart |
| 1218 | + /usr/bin/freshclam > /dev/null 2>&1 |
| 1219 | + service clamav-daemon start |
1221 | 1220 | check_result $? "clamav-daemon start failed" |
1222 | 1221 | fi |
1223 | 1222 |
|
|
1330 | 1329 | # Special thanks to Pavel Galkin (https://skurudo.ru) |
1331 | 1330 | # https://github.com/skurudo/phpmyadmin-fixer |
1332 | 1331 |
|
1333 | | -source $hestiacp/phpmyadmin/pma.sh > /dev/null 2>&1 |
| 1332 | +source $hestiacp/phpmyadmin/pma.sh > /dev/null 2>&1 |
1334 | 1333 |
|
1335 | 1334 |
|
1336 | 1335 | #----------------------------------------------------------# |
|
0 commit comments