Updating Sharingan for testing
This commit is contained in:
15
roles/Sharingan/files/clamav/clamscan.service
Normal file
15
roles/Sharingan/files/clamav/clamscan.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[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"
|
||||
TimeoutSec=3600
|
||||
User=root
|
||||
Group=root
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
11
roles/Sharingan/files/clamav/clamscan.timer
Normal file
11
roles/Sharingan/files/clamav/clamscan.timer
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Sharingan-IDS | Virus scanning
|
||||
|
||||
[Timer]
|
||||
OnCalendar=02:00
|
||||
Persistent=false
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
||||
#EOF
|
@@ -8,7 +8,7 @@ IOSchedulingPriority=7
|
||||
Type=simple
|
||||
ExecStart=freshclam
|
||||
User=root
|
||||
group=root
|
||||
Group=root
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Reference in New Issue
Block a user