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
|
### Uncomment these lines when you want clamav-milter to be a milter
|
||||||
### for a remotely running MTA
|
### for a remotely running MTA
|
||||||
#start on starting local
|
#start on runlevel [345] and starting local
|
||||||
|
|
||||||
stop on (runlevel 0 or
|
stop on runlevel [!345]
|
||||||
runlevel 1 or
|
|
||||||
runlevel 6)
|
|
||||||
|
|
||||||
respawn
|
respawn
|
||||||
exec /usr/sbin/clamav-milter -c /etc/mail/clamav-milter.conf --nofork=yes
|
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
|
### Uncomment this line when you want clamd.scan to be a generic
|
||||||
### scanner service
|
### scanner service
|
||||||
#start on starting local
|
#start on runlevel [345] and starting local
|
||||||
|
|
||||||
stop on (runlevel 0 or
|
stop on runlevel [!345]
|
||||||
runlevel 1 or
|
|
||||||
runlevel 6)
|
|
||||||
|
|
||||||
respawn
|
respawn
|
||||||
exec /usr/sbin/clamd -c /etc/clamd.d/scan.conf --nofork=yes
|
exec /usr/sbin/clamd -c /etc/clamd.d/scan.conf --nofork=yes
|
||||||
|
Loading…
Reference in New Issue
Block a user