rpms/clamav/devel clamd.scan.upstart, 1.4, 1.5 clamav-milter.upstart, 1.5, 1.6

ensc ensc at fedoraproject.org
Thu Dec 10 21:32:22 UTC 2009


Author: ensc

Update of /cvs/extras/rpms/clamav/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21036

Modified Files:
	clamd.scan.upstart clamav-milter.upstart 
Log Message:
optimized upstart scripts and start on runlevel 345 only



Index: clamd.scan.upstart
===================================================================
RCS file: /cvs/extras/rpms/clamav/devel/clamd.scan.upstart,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- clamd.scan.upstart	6 Dec 2009 11:18:53 -0000	1.4
+++ clamd.scan.upstart	10 Dec 2009 21:32:22 -0000	1.5
@@ -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


Index: clamav-milter.upstart
===================================================================
RCS file: /cvs/extras/rpms/clamav/devel/clamav-milter.upstart,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- clamav-milter.upstart	6 Dec 2009 11:18:53 -0000	1.5
+++ clamav-milter.upstart	10 Dec 2009 21:32:22 -0000	1.6
@@ -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




More information about the scm-commits mailing list