[Pkg-samba-maint] [samba] 02/10: Only fix PIDFile in {nmbd, samba-ad-dc, smbd, winbind}.service (i.e. not ctdb.service) Closes: #838000
Mathieu Parent
sathieu at moszumanska.debian.org
Wed Oct 19 20:02:29 UTC 2016
This is an automated email from the git hooks/post-receive script.
sathieu pushed a commit to branch experimental
in repository samba.
commit c4594b2a25072e0b200c05b501660467b3fcdc90
Author: Mathieu Parent <math.parent at gmail.com>
Date: Sun Oct 9 21:53:51 2016 +0200
Only fix PIDFile in {nmbd,samba-ad-dc,smbd,winbind}.service (i.e. not ctdb.service) Closes: #838000
(cherry picked from commit 4c00cb4e0722c4fb08ea3a9cba3ab6682a633eef)
---
debian/rules | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 8d066d4..398ceaf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -185,7 +185,10 @@ override_dh_install:
-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
+ $(DESTDIR)/lib/systemd/system/nmbd.service \
+ $(DESTDIR)/lib/systemd/system/samba-ad-dc.service \
+ $(DESTDIR)/lib/systemd/system/smbd.service \
+ $(DESTDIR)/lib/systemd/system/winbind.service
mkdir -p $(DESTDIR)/usr/lib/tmpfiles.d
echo "d /run/samba 0755 root root -" > $(DESTDIR)/usr/lib/tmpfiles.d/samba.conf
#install -m 0644 packaging/systemd/samba.sysconfig $(DESTDIR)/etc/default/samba
--
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