optimized upstart scripts and start on runlevel 345 only

This commit is contained in:
ensc 2009-12-10 21:32:22 +00:00
parent 18c2da4c06
commit bc01b3df37
2 changed files with 4 additions and 8 deletions

View File

@ -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

View File

@ -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