Package: vsftpd Version: 3.0.2-8 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 vsftpd 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 ed2d26f8918c25ff95efecb799cc5fea20cabfb6 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg <stapelb...@debian.org> Date: Sun, 23 Jun 2013 12:06:46 +0200 Subject: [PATCH] use dh-systemd for proper systemd-related maintscripts --- debian/control | 2 +- debian/rules | 6 +----- debian/{vsftpd.systemd => vsftpd.service} | 0 3 files changed, 2 insertions(+), 6 deletions(-) rename debian/{vsftpd.systemd => vsftpd.service} (100%) diff --git a/debian/control b/debian/control index 8c23799..ed811cb 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: extra Maintainer: Daniel Baumann <m...@daniel-baumann.ch> Build-Depends: debhelper (>= 9), libcap2-dev [linux-any], libpam0g-dev, libssl-dev, - libwrap0-dev + libwrap0-dev, dh-systemd (>= 1.3) Standards-Version: 3.9.4 Homepage: http://vsftpd.beasts.org/ diff --git a/debian/rules b/debian/rules index 348c313..5f9c59c 100755 --- a/debian/rules +++ b/debian/rules @@ -10,7 +10,7 @@ ifeq ($(DEB_HOST_ARCH_OS),linux) endif %: - dh ${@} + dh ${@} --with=systemd override_dh_auto_build: $(MAKE) CFLAGS="$(CFLAGS) $(CPPFLAGS)" LIBS="$(LIBS)" LINK="" @@ -18,10 +18,6 @@ override_dh_auto_build: override_dh_auto_install: # auto-install disabled - # systemd - mkdir -p debian/vsftpd/lib/systemd/system - cp debian/vsftpd.systemd debian/vsftpd/lib/systemd/system/vsftpd.service - override_dh_installinit: dh_installinit --update-rcd-params='start . 2 3 4 5 . stop . 1 .' diff --git a/debian/vsftpd.systemd b/debian/vsftpd.service similarity index 100% rename from debian/vsftpd.systemd rename to debian/vsftpd.service -- 1.7.10.4