apt-get install clamav clamav-freshclam clamav-daemon vi /etc/clamav/clamd.conf OnAccessMaxFileSize 4000M OnAccessPrevention yes OnAccessIncludePath /home/USERNAME/Downloads OnAccessExcludeUname clamav vi /etc/systemd/system/antivirus.service [Unit] Description=Clamonacc Service After=network.target [Service] ExecStart=/usr/sbin/clamonacc --remove --fdpass --stream --foreground User=root ExecStop=/bin/kill -9 "$MAINPID" [Install] WantedBy=multi-user.target