[Pkg-cups-devel] r106 - cupsys/branches/cups-1.2/debian
Martin Pitt
mpitt at costa.debian.org
Wed Jan 11 18:34:38 UTC 2006
Author: mpitt
Date: Wed Jan 11 18:34:37 2006
New Revision: 106
Modified:
cupsys/branches/cups-1.2/debian/changelog
cupsys/branches/cups-1.2/debian/cupsys.init.d
Log:
init script: Ensure that /var/run/cupsd exists; this makes the init script work
with /var/run mounted on a tmpfs.
Modified: cupsys/branches/cups-1.2/debian/changelog
==============================================================================
--- cupsys/branches/cups-1.2/debian/changelog (original)
+++ cupsys/branches/cups-1.2/debian/changelog Wed Jan 11 18:34:37 2006
@@ -4,10 +4,13 @@
*
[ Martin Pitt ]
- * debian/cupsys.init.d: Fix arguments of start-stop-daemon and remove the
- hideous kill algorithm.
+ * debian/cupsys.init.d:
+ - Fix arguments of start-stop-daemon and remove the hideous kill
+ algorithm.
+ - Ensure that /var/run/cupsd exists; this makes the init script work with
+ /var/run mounted on a tmpfs.
- -- Martin Pitt <mpitt at debian.org> Wed, 11 Jan 2006 19:29:51 +0100
+ -- Martin Pitt <mpitt at debian.org> Wed, 11 Jan 2006 19:33:48 +0100
cupsys (1.1.99.b1.r4885-1) experimental; urgency=low
Modified: cupsys/branches/cups-1.2/debian/cupsys.init.d
==============================================================================
--- cupsys/branches/cups-1.2/debian/cupsys.init.d (original)
+++ cupsys/branches/cups-1.2/debian/cupsys.init.d Wed Jan 11 18:34:37 2006
@@ -23,6 +23,7 @@
log_begin_msg "Starting $DESC: $NAME"
chown root:lpadmin /usr/share/cups/model 2>/dev/null || true
chmod 3775 /usr/share/cups/model 2>/dev/null || true
+ mkdir -p `dirname "$PIDFILE"`
start-stop-daemon --start --quiet --oknodo --pidfile "$PIDFILE" --exec $DAEMON
;;
stop)
More information about the Pkg-cups-devel
mailing list