85
82
[ -z "$DatabaseDirectory" ] && DatabaseDirectory=/var/lib/clamav/
86
83
[ -n "$DatabaseOwner" ] || DatabaseOwner=clamav
90
96
su "$DatabaseOwner" -p -s /bin/sh -c "freshclam -l $UpdateLogFile --datadir $DatabaseDirectory"
94
99
log_daemon_msg "Starting $DESC" "$NAME"
95
100
# If user wants it run from cron, we only accept no-daemon and stop
96
101
if [ -f /etc/cron.d/clamav-freshclam ]; then