2010-08-11 09:13:09 +00:00
|
|
|
### !!! Uncomment only *one* of the 'start on' statements !!!
|
|
|
|
|
|
|
|
### Uncomment this line when you want clamd.scan to be a scanner for a
|
|
|
|
### locally running clamav-milter
|
2009-03-08 11:38:36 +00:00
|
|
|
#start on starting clamav-milter
|
|
|
|
|
2010-08-11 09:13:09 +00:00
|
|
|
### Uncomment this line when you want clamd.scan to be a generic
|
2009-03-08 11:38:36 +00:00
|
|
|
### scanner service
|
2010-08-11 09:13:09 +00:00
|
|
|
#start on runlevel [345] and starting local
|
2009-03-08 11:38:36 +00:00
|
|
|
|
2010-08-11 09:13:09 +00:00
|
|
|
stop on runlevel [!345]
|
2009-03-08 11:38:36 +00:00
|
|
|
|
|
|
|
respawn
|
2016-06-13 17:36:38 +00:00
|
|
|
exec /usr/sbin/clamd -c /etc/clamd.d/scan.conf --foreground=yes
|