Skip to content

Commit b22fd25

Browse files
committed
Restart clamav-daemon after freshclam update.
1 parent eab5c3c commit b22fd25

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

install/hst-install-debian.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,6 +1199,7 @@ if [ "$clamd" = 'yes' ]; then
11991199
service clamav-daemon start
12001200
echo "Updating ClamAV..."
12011201
/usr/bin/freshclam > /dev/null 2>&1
1202+
service clamav-daemon restart
12021203
check_result $? "clamav-daeom start failed"
12031204
fi
12041205

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,6 +1206,7 @@ if [ "$clamd" = 'yes' ]; then
12061206
service clamav-daemon start
12071207
echo "Updating ClamAV..."
12081208
/usr/bin/freshclam > /dev/null 2>&1
1209+
service clamav-daemon restart
12091210
check_result $? "clamav-daemon start failed"
12101211
fi
12111212

0 commit comments

Comments
 (0)