[Pkg-samba-maint] [samba] 02/02: Fix PIDFile in systemd service files. Closes: #830909

Mathieu Parent sathieu at moszumanska.debian.org
Wed Aug 31 19:10:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

sathieu pushed a commit to branch master
in repository samba.

commit cabfd3e02d7068b738cf2bca88c5e3653e8ba6af
Author: Mathieu Parent <math.parent at gmail.com>
Date:   Thu Aug 25 07:06:28 2016 +0200

    Fix PIDFile in systemd service files. Closes: #830909
---
 debian/changelog | 1 +
 debian/rules     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4660c66..eb8bb48 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ samba (2:4.4.5+dfsg-3) UNRELEASED; urgency=medium
   [ Mathieu Parent ]
   * Remove /etc/systemd/system/samba-ad-dc.service (from postinst) on purge.
     Closes: #832352
+  * Fix PIDFile in systemd service files. Closes: #830909
 
  -- Jelmer Vernooij <jelmer at debian.org>  Tue, 02 Aug 2016 02:19:37 +0000
 
diff --git a/debian/rules b/debian/rules
index f09e506..f14e80a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -184,6 +184,7 @@ override_dh_install:
 	  -e 's|/nmb\.service|nmbd.service|' \
 	  -e 's|/smb\.service|smbd.service|' \
 	  -e 's|/samba\.service|samba-ad-dc.service|' \
+	  -e 's|^PIDFile=/run/|PIDFile=/var/run/samba/|' \
 	  $(DESTDIR)/lib/systemd/system/*.service
 	mkdir -p $(DESTDIR)/usr/lib/tmpfiles.d
 	echo "d /run/samba 0755 root root -" > $(DESTDIR)/usr/lib/tmpfiles.d/samba.conf

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git




More information about the Pkg-samba-maint mailing list