[Pkg-dspam-commits] [pkg-dspam-commits] r130 - trunk/debian

Kurt B. Kaiser kbk-guest at alioth.debian.org
Mon Jan 14 03:56:38 UTC 2008


Author: kbk-guest
Date: Mon Jan 14 03:56:38 2008
New Revision: 130

Log:
dspam-init: create directory for PIDFILE, if it does not exist. (ubuntu)


Modified:
   trunk/debian/changelog
   trunk/debian/dspam.init

Modified: trunk/debian/changelog
==============================================================================
--- trunk/debian/changelog	(original)
+++ trunk/debian/changelog	Mon Jan 14 03:56:38 2008
@@ -11,8 +11,9 @@
   * Remove postgresql-dev, no longer in archive. (Closes: #429967)
   * Add XS-DM-Upload-Allowed field to control file.
   * Eliminate a bashism from libdspam7-drv-mysql.cron.daily (from ubuntu)
+  * dspam-init: create directory for PIDFILE, if it does not exist. (ubuntu)
 
- -- Debian DSPAM Maintainers <pkg-dspam-misc at lists.alioth.debian.org>  Sun, 13 Jan 2008 22:45:11 -0500
+ -- Debian DSPAM Maintainers <pkg-dspam-misc at lists.alioth.debian.org>  Sun, 13 Jan 2008 22:47:12 -0500
 
 dspam (3.6.8-5.1) unstable; urgency=medium
 

Modified: trunk/debian/dspam.init
==============================================================================
--- trunk/debian/dspam.init	(original)
+++ trunk/debian/dspam.init	Mon Jan 14 03:56:38 2008
@@ -29,6 +29,9 @@
 	. /etc/default/$NAME
 fi
 
+# Create directory for PIDFILE, if it does not exist.
+test -d $(dirname $PIDFILE) || mkdir -p -m 755 $(dirname $PIDFILE)
+
 OPTIONS="--daemon $OPTIONS"
 
 # Start the daemon



More information about the Pkg-dspam-commits mailing list