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
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 <mat...@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

Attachment: signature.asc
Description: Digital signature

Reply via email to