Package: lighttpd
Version: 1.4.31-4
Severity: normal
Tags: patch

Thanks for shipping a systemd service file with vsftpd.

By applying the attached patch, systemd users will enjoy a fully working
lighttpd 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 ff8746106fa196d9577863b4b1bf65f4a037d5e9 Mon Sep 17 00:00:00 2001
From: Michael Stapelberg <stapelb...@debian.org>
Date: Sun, 23 Jun 2013 12:17:55 +0200
Subject: [PATCH 1/2] use dh-systemd for proper systemd-related maintscripts

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

diff --git a/debian/control b/debian/control
index 10881fe..2bfb2ad 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 9), mime-support, libssl-dev,
  zlib1g-dev, libbz2-dev, libattr1-dev, libpcre3-dev, libmysqlclient-dev,
  libfam-dev, libldap2-dev, libfcgi-dev, libgdbm-dev, libmemcache-dev,
  liblua5.1-0-dev, pkg-config, uuid-dev, libsqlite3-dev,
- libxml2-dev, libkrb5-dev, perl, dpkg-dev (>= 1.16.1~)
+ libxml2-dev, libkrb5-dev, perl, dpkg-dev (>= 1.16.1~), dh-systemd (>= 1.3)
 Vcs-Git: git://git.debian.org/git/pkg-lighttpd/lighttpd.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-lighttpd/lighttpd.git
 Standards-Version: 3.9.4
diff --git a/debian/rules b/debian/rules
index 43c6e03..a90b3af 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@
+	dh $@ --with=systemd
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
-- 
1.7.10.4

Reply via email to