[Pkg-cups-devel] r142 - cupsys/branches/cups-1.2/debian
Kenshi Muto
kmuto at costa.debian.org
Wed Apr 12 10:31:44 UTC 2006
Author: kmuto
Date: Wed Apr 12 10:31:43 2006
New Revision: 142
Modified:
cupsys/branches/cups-1.2/debian/changelog
cupsys/branches/cups-1.2/debian/cupsys.logrotate
Log:
use reload instead of restart during logrotate. SIGHUP reload looks safe in CUPS 1.2. (But #356468 remains..)
Modified: cupsys/branches/cups-1.2/debian/changelog
==============================================================================
--- cupsys/branches/cups-1.2/debian/changelog (original)
+++ cupsys/branches/cups-1.2/debian/changelog Wed Apr 12 10:31:43 2006
@@ -21,6 +21,8 @@
* 02_configure.dpath: Remove -rpath from configure.
* Fix typo in cupsys-bsd description. (closes: #362070)
* Add Galician debconf translation. (closes: #361258)
+ * Use 'reload' during logrotate instead of 'restart'. It looks safe
+ on CUPS 1.2. (though job-restart problem still remains)
[ Martin Pitt ]
* debian/patches/48_stdlib.dpatch: Adapted to new upstream version.
Modified: cupsys/branches/cups-1.2/debian/cupsys.logrotate
==============================================================================
--- cupsys/branches/cups-1.2/debian/cupsys.logrotate (original)
+++ cupsys/branches/cups-1.2/debian/cupsys.logrotate Wed Apr 12 10:31:43 2006
@@ -4,8 +4,9 @@
rotate 7
sharedscripts
postrotate
- [ -e /var/run/cups/cupsd.pid ] && invoke-rc.d --quiet cupsys restart > /dev/null && sleep 10
+ [ -e /var/run/cups/cupsd.pid ] && invoke-rc.d --quiet cupsys reload > /dev/null && sleep 10
endscript
compress
notifempty
+ create 640 root lp
}
More information about the Pkg-cups-devel
mailing list