[Pkg-varnish-devel] Bug#740002: patch
Mattia Rizzolo
mattia at mapreri.org
Mon Feb 24 20:50:12 UTC 2014
Control: tags -1 + patch
Attached there is a debdiff to do so, at your convenience.
--
regards,
Mattia Rizzolo
GPG Key: 4096R/B9444540 http://goo.gl/I8TMB
more about me: http://mapreri.org
Launchpad User: https://launchpad.net/~mapreri
Ubuntu Wiki page: https://wiki.ubuntu.com/MattiaRizzolo
-------------- next part --------------
diff -Nru varnish-3.0.5/debian/changelog varnish-3.0.5/debian/changelog
--- varnish-3.0.5/debian/changelog 2013-12-02 15:06:51.000000000 +0100
+++ varnish-3.0.5/debian/changelog 2014-02-24 21:49:02.000000000 +0100
@@ -1,3 +1,10 @@
+varnish (3.0.5-1.1) unstable; urgency=medium
+
+ * debian/varnish.init: Add a configtest action. Thanks Samuele Giovanni
+ Tonon for the patch. (LP: #1284095) (Closes: #740002)
+
+ -- Mattia Rizzolo <mattia at mapreri.org> Mon, 24 Feb 2014 21:38:18 +0100
+
varnish (3.0.5-1) unstable; urgency=low
* Imported upstream version 3.0.5
diff -Nru varnish-3.0.5/debian/varnish.init varnish-3.0.5/debian/varnish.init
--- varnish-3.0.5/debian/varnish.init 2013-12-02 15:06:51.000000000 +0100
+++ varnish-3.0.5/debian/varnish.init 2014-02-24 21:38:10.000000000 +0100
@@ -89,6 +89,11 @@
exit $?
}
+configtest() {
+ $DAEMON ${DAEMON_OPTS} -C -n /tmp > /dev/null && echo "Syntax ok"
+}
+
+
case "$1" in
start)
case "${START:-}" in
@@ -113,8 +118,11 @@
$0 stop
$0 start
;;
+ configtest)
+ configtest
+ ;;
*)
- log_success_msg "Usage: $0 {start|stop|restart|reload|force-reload}"
+ log_success_msg "Usage: $0 {start|stop|restart|reload|force-reload|configtest}"
exit 1
;;
esac
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-varnish-devel/attachments/20140224/58016bd4/attachment-0001.sig>
More information about the Pkg-varnish-devel
mailing list