rpms/cups/devel cups.init,1.8,1.9 cups.spec,1.187,1.188

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed May 17 11:40:51 UTC 2006


Author: twaugh

Update of /cvs/dist/rpms/cups/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv2107

Modified Files:
	cups.init cups.spec 
Log Message:
- Added 'restartlog' to initscript, for clearing out error_log.  Useful
  for problem diagnosis.


Index: cups.init
===================================================================
RCS file: /cvs/dist/rpms/cups/devel/cups.init,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- cups.init	17 May 2006 11:36:12 -0000	1.8
+++ cups.init	17 May 2006 11:40:41 -0000	1.9
@@ -92,6 +92,11 @@
 	status)
 		status $DAEMON
 	;;
+	restartlog)
+		stop
+		cat /dev/null >/var/log/cups/error_log
+		start
+	;;
 	*)
 
 	echo $"Usage: $prog {start|stop|restart|condrestart|reload|status}"


Index: cups.spec
===================================================================
RCS file: /cvs/dist/rpms/cups/devel/cups.spec,v
retrieving revision 1.187
retrieving revision 1.188
diff -u -r1.187 -r1.188
--- cups.spec	17 May 2006 11:36:12 -0000	1.187
+++ cups.spec	17 May 2006 11:40:41 -0000	1.188
@@ -373,6 +373,8 @@
 
 %changelog
 * Wed May 16 2006 Tim Waugh <twaugh at redhat.com>
+- Added 'restartlog' to initscript, for clearing out error_log.  Useful
+  for problem diagnosis.
 - Initscript no longer needs to check for printconf-backend.
 
 * Tue May 16 2006 Tim Waugh <twaugh at redhat.com> 1:1.2.0-3




More information about the fedora-cvs-commits mailing list