Kapisi/roles/Sharingan/files/clamav/clamscan.service

16 lines
434 B
SYSTEMD
Raw Permalink Normal View History

2022-05-04 10:30:23 -05:00
[Unit]
Description=Sharingan-IDS | Virus scanning
[Service]
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7
Type=simple
ExecStart=-clamscan -r / -i --exclude-dir="/srv/ygddrasil" --exclude-dir="/dev" --exclude-dir="/sys" --exclude-dir="/proc" --exclude-dir="/media/Infected/" --exclude-dir="/etc/snort/rules" --exclude-dir="/etc/suricata/rules"
2022-05-04 10:30:23 -05:00
TimeoutSec=3600
User=root
Group=root
[Install]
WantedBy=multi-user.target