Package: varnish
Version: 3.0.3-1
Severity: normal
Tags: patch

Thanks for shipping a service file with varnish.

By applying the attached patch, systemd users will enjoy a fully working
varnish on their machines: it will get enabled and started properly (even
if installed on sysvinit and later switching to systemd).

Therefore, please apply the patch for your next upload. Thanks!
>From 1586db1286c711f5c11e8c2e433181be706c474e Mon Sep 17 00:00:00 2001
From: Michael Stapelberg <[email protected]>
Date: Sun, 23 Jun 2013 15:31:29 +0200
Subject: [PATCH] use dh-systemd for proper systemd-related maintscripts

---
 debian/control |    1 +
 debian/rules   |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index ddb2bf7..a5b2e9d 100644
--- a/debian/control
+++ b/debian/control
@@ -20,6 +20,7 @@ Build-Depends:
  pkg-config,
  python-docutils,
  xsltproc,
+ dh-systemd (>= 1.3)
 Vcs-Browser: http://git.debian.org/?p=pkg-varnish/pkg-varnish.git;a=summary
 Vcs-Git: git://git.debian.org/pkg-varnish/pkg-varnish.git
 Homepage: http://varnish-cache.org/
diff --git a/debian/rules b/debian/rules
index 8b4d067..ac28987 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,7 @@ endif
 
 # Main build rule, leave everything to debhelper
 %:
-	dh $@ --parallel
+	dh $@ --parallel --with=systemd
 
 ifeq (,$(filter test,$(LOCAL_BUILD_OPTIONS)))
 # Disable automated build tests
-- 
1.7.10.4

Reply via email to