Your message dated Wed, 08 Aug 2012 20:47:49 +0000
with message-id <[email protected]>
and subject line Bug#684299: fixed in gunicorn 0.14.5-2
has caused the Debian Bug report #684299,
regarding gunicorn-debian supports acting against configs, but init.d script 
does not pass them through
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
684299: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684299
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gunicorn
Version: 0.14.5-1
Severity: normal
Tags: patch

Dear Maintainer,

The included patch is a small modification to the init.d script to allow
passing config names through to gunicorn-debian, allowing it to act against
specific configs in the same way:

    service gunicorn reload foo bar

As a cosmetic fix, this also removes the unsupported "status" action from the
list of advertised actions.



-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-27-generic (SMP w/2 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -r d21114c264ae init.d/gunicorn
--- a/init.d/gunicorn	Wed Aug 08 15:21:33 2012 +0200
+++ b/init.d/gunicorn	Wed Aug 08 15:55:17 2012 +0200
@@ -30,12 +30,13 @@
 	mkdir -m770 -p $LOG_DIR
 
 	log_daemon_msg "$1"
+	shift
 
 	if $HELPER \
 		--conf-dir=$CONF_DIR \
 		--pid-dir=$PID_DIR \
 		--log-dir=$LOG_DIR \
-		$2
+		"$@"
 	then
 		log_success_msg
 	else
@@ -44,22 +45,25 @@
 	fi
 }
 
-case "$1" in
+action="$1"
+shift
+
+case "$action" in
   start)
-  	Action "Starting $DESC" start
+  	Action "Starting $DESC" start "$@"
 	;;
   stop)
-  	Action "Stopping $DESC" stop
+  	Action "Stopping $DESC" stop "$@"
 	;;
   reload)
-  	Action "Reloading $DESC" reload
+  	Action "Reloading $DESC" reload "$@"
 	;;
   restart|force-reload)
-	$0 stop
-	$0 start
+	$0 stop "$@"
+	$0 start "$@"
 	;;
   *)
-	echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload|status}" >&2
+	echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload} [configs]" >&2
 	exit 1
 	;;
 esac

--- End Message ---
--- Begin Message ---
Source: gunicorn
Source-Version: 0.14.5-2

We believe that the bug you reported is fixed in the latest version of
gunicorn, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <[email protected]> (supplier of updated gunicorn package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 08 Aug 2012 13:03:26 -0700
Source: gunicorn
Binary: gunicorn
Architecture: source all
Version: 0.14.5-2
Distribution: unstable
Urgency: low
Maintainer: Chris Lamb <[email protected]>
Changed-By: Chris Lamb <[email protected]>
Description: 
 gunicorn   - Event-based HTTP/WSGI server
Closes: 684299
Changes: 
 gunicorn (0.14.5-2) unstable; urgency=low
 .
   * Pass through any initscript options to gunicorn-debian. Thanks to Piet
     Delport <[email protected]>. (Closes: #684299)
   * Drop unsupported 'status' argument. Thanks to Piet Delport
     <[email protected]>.
Checksums-Sha1: 
 a5eb523dedaa72e807b3e80fa123c26cf0b5c230 1194 gunicorn_0.14.5-2.dsc
 398458a29b5cd019fad02df0d63ea987b5399497 8938 gunicorn_0.14.5-2.debian.tar.gz
 5b44f18fadbd7d5f1c6ab150d01484ba251106c3 112152 gunicorn_0.14.5-2_all.deb
Checksums-Sha256: 
 1ea375f55556a27c8ded45f7302995eba2a8c6b58fa0ce6c95d046e12f686ada 1194 
gunicorn_0.14.5-2.dsc
 2402717b1ac5dd57c36ad6955f8dae48d133e6c20abc31bb535cda666e2fd656 8938 
gunicorn_0.14.5-2.debian.tar.gz
 a60962e734b0ffd82117bbe8ff25ec6734635ecd7f5806eb15092668a7c3938c 112152 
gunicorn_0.14.5-2_all.deb
Files: 
 c6d0ba2547d4248a5f1cb8c2d89d326c 1194 python optional gunicorn_0.14.5-2.dsc
 dd7b6552a114ce439e1b17a35cb7e054 8938 python optional 
gunicorn_0.14.5-2.debian.tar.gz
 06d891c0ede11ab2117cb68749355160 112152 python optional 
gunicorn_0.14.5-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlAixjMACgkQ5/8uW2NPmiBxqwCggsaqSnmmg9s/ficuWI3djbvL
x3YAoJzsItGwZ0bVpWIW+PSjd4CuaNUi
=OWqZ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to