2020-09-19 02:16:33 +00:00
|
|
|
diff -up clamav-0.103.0/clamonacc/clamav-clamonacc.service.in.clamonacc-service clamav-0.103.0/clamonacc/clamav-clamonacc.service.in
|
|
|
|
--- clamav-0.103.0/clamonacc/clamav-clamonacc.service.in.clamonacc-service 2020-09-12 18:27:09.000000000 -0600
|
|
|
|
+++ clamav-0.103.0/clamonacc/clamav-clamonacc.service.in 2020-09-18 19:49:35.400152760 -0600
|
2020-09-19 16:25:14 +00:00
|
|
|
@@ -4,14 +4,12 @@
|
2020-09-19 02:16:33 +00:00
|
|
|
[Unit]
|
|
|
|
Description=ClamAV On-Access Scanner
|
|
|
|
Documentation=man:clamonacc(8) man:clamd.conf(5) https://www.clamav.net/documents
|
|
|
|
-Requires=clamav-daemon.service
|
|
|
|
-After=clamav-daemon.service syslog.target network.target
|
|
|
|
+After=clamd@scan.service syslog.target network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=root
|
|
|
|
-ExecStartPre=/bin/bash -c "while [ ! -S /run/clamav/clamd.ctl ]; do sleep 1; done"
|
|
|
|
-ExecStart=@prefix@/sbin/clamonacc -F --config-file=@APP_CONFIG_DIRECTORY@/clamd.conf --log=/var/log/clamav/clamonacc.log --move=/root/quarantine
|
2020-09-19 16:25:14 +00:00
|
|
|
+ExecStart=@prefix@/sbin/clamonacc -F --config-file=/etc/clamd.d/scan.conf
|
2020-09-19 02:16:33 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|