[Pkg-samba-maint] [samba] 01/02: Fix samba.logrotate (Thanks Thomas A. Reim)

Mathieu Parent sathieu at moszumanska.debian.org
Sat Aug 26 15:36:48 UTC 2017


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

sathieu pushed a commit to branch stretch
in repository samba.

commit c6a39598601b22de91d0397f33243ab91d4c6806
Author: Mathieu Parent <math.parent at gmail.com>
Date:   Tue Aug 15 22:51:10 2017 +0200

    Fix samba.logrotate (Thanks Thomas A. Reim)
    
    (cherry picked from commit 57fbf8399242bb4d19058960d8c8a5d1be115110)
---
 debian/samba.logrotate | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/samba.logrotate b/debian/samba.logrotate
index 0b0ed9b..e40c002 100644
--- a/debian/samba.logrotate
+++ b/debian/samba.logrotate
@@ -28,8 +28,8 @@
 	rotate 7
 	postrotate
 		if [ -d /run/systemd/system ] && command systemctl >/dev/null 2>&1 && systemctl is-active --quiet samba-ad-dc; then
-			 systemctl kill --kill-who all --signal=SIGHUP samba-ad-dc
-		elsif [ -f /var/run/samba/samba.pid ]; then
+			systemctl kill --kill-who all --signal=SIGHUP samba-ad-dc
+		elif [ -f /var/run/samba/samba.pid ]; then
 			# This only sends to main pid, See #803924
 			kill -HUP `cat /var/run/samba/samba.pid`
 		fi

-- 
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