Kapisi/roles/Sharingan/files/lynis/sharingan-scan.service

17 lines
513 B
Desktop File

[Unit]
Description=Sharingan-IDS | Vulnerability scanning
[Service]
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7
Type=simple
ExecStartPre=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"
ExecStart=lynis audit system
ExecStartPost=systemd-cat -t sharingan-vulns arch-audit
User=root
group=root
[Install]
WantedBy=multi-user.target