[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#781644: unblock: fcgiwrap/1.1.0-5



reopen 781644
thanks

As briefly discussed on IRC, please accept this additional diff:

--- fcgiwrap-1.1.0/debian/changelog	2015-04-01 09:57:05.000000000 +0200
+++ fcgiwrap-1.1.0/debian/changelog	2015-04-03 10:22:41.000000000 +0200
@@ -1,3 +1,10 @@
+fcgiwrap (1.1.0-5) unstable; urgency=medium
+
+  * Add a prerm script that forcibly stops fcgiwrap.socket, to avoid
+    respawns via socket activation.
+
+ -- Jordi Mallach <jordi@debian.org>  Thu, 02 Apr 2015 19:00:46 +0200
+
 fcgiwrap (1.1.0-4) unstable; urgency=medium
 
   * Ensure the socket unit is started upon installation by making
diff -Nru fcgiwrap-1.1.0/debian/prerm fcgiwrap-1.1.0/debian/prerm
--- fcgiwrap-1.1.0/debian/prerm	1970-01-01 01:00:00.000000000 +0100
+++ fcgiwrap-1.1.0/debian/prerm	2015-04-03 10:25:43.000000000 +0200
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+# Stop the socket on remove so fcgiwrap is not restarted via socket activation
+if [ -d /run/systemd/system ] && [ "$1" = remove ] ; then
+	systemctl stop fcgiwrap.socket || true
+fi
+
+#DEBHELPER#

unblock fcgiwrap/1.1.0-4

-- 
Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
jordi@sindominio.net     jordi@debian.org     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/

Attachment: signature.asc
Description: Digital signature


Reply to: