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

Kurt B. Kaiser kbk-guest at alioth.debian.org
Tue Aug 12 20:09:53 UTC 2008


Author: kbk-guest
Date: Tue Aug 12 20:09:52 2008
New Revision: 170

Log:
* /etc/init.d/dspam ignored $USER (LP: #232543)(Closes: #483868)


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

Modified: trunk/debian/changelog
==============================================================================
--- trunk/debian/changelog	(original)
+++ trunk/debian/changelog	Tue Aug 12 20:09:52 2008
@@ -36,6 +36,7 @@
   * Move to Standards Version 3.8.0.
   * Add amavis to trusted users (Closes: #477508)
   * Fix regression from #388140: remote mySQL server fails (Closes: #481755)
+  * /etc/init.d/dspam ignored $USER (LP: #232543)(Closes: #483868)
 
  -- Debian DSPAM Maintainers <pkg-dspam-misc at lists.alioth.debian.org>  Fri, 08 Aug 2008 16:29:26 -0400
 

Modified: trunk/debian/dspam.init
==============================================================================
--- trunk/debian/dspam.init	(original)
+++ trunk/debian/dspam.init	Tue Aug 12 20:09:52 2008
@@ -31,7 +31,7 @@
 
 # Create directory for PIDFILE, if it does not exist and change ownership.
 test -d $(dirname $PIDFILE) || mkdir -p -m 755 $(dirname $PIDFILE)
-chown dspam $(dirname $PIDFILE)
+chown $USER $(dirname $PIDFILE)
 
 OPTIONS="--daemon $OPTIONS"
 
@@ -42,7 +42,7 @@
 #  1 if daemon was already running
 #  2 if daemon could not be started
   start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid $USER --exec $DAEMON --test > /dev/null || return 1
-  start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $OPTIONS || return 2
+  start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid $USER --exec $DAEMON -- $OPTIONS || return 2
 }
 
 # Stop the daemon



More information about the Pkg-dspam-commits mailing list