optimized upstart scripts and start on runlevel 345 only
This commit is contained in:
parent
18c2da4c06
commit
bc01b3df37
@ -6,11 +6,9 @@
|
||||
|
||||
### Uncomment these lines when you want clamav-milter to be a milter
|
||||
### for a remotely running MTA
|
||||
#start on starting local
|
||||
#start on runlevel [345] and starting local
|
||||
|
||||
stop on (runlevel 0 or
|
||||
runlevel 1 or
|
||||
runlevel 6)
|
||||
stop on runlevel [!345]
|
||||
|
||||
respawn
|
||||
exec /usr/sbin/clamav-milter -c /etc/mail/clamav-milter.conf --nofork=yes
|
||||
|
@ -6,11 +6,9 @@
|
||||
|
||||
### Uncomment this line when you want clamd.scan to be a generic
|
||||
### scanner service
|
||||
#start on starting local
|
||||
#start on runlevel [345] and starting local
|
||||
|
||||
stop on (runlevel 0 or
|
||||
runlevel 1 or
|
||||
runlevel 6)
|
||||
stop on runlevel [!345]
|
||||
|
||||
respawn
|
||||
exec /usr/sbin/clamd -c /etc/clamd.d/scan.conf --nofork=yes
|
||||
|
Loading…
Reference in New Issue
Block a user