[Pkg-samba-maint] [Git][samba-team/samba][master] 2 commits: - d/samba.logrotate: only try to reload the services if they are running
Mathieu Parent
gitlab at salsa.debian.org
Mon Jun 25 21:57:40 BST 2018
Mathieu Parent pushed to branch master at Debian Samba Team / samba
Commits:
bed29aba by Andreas Hasenack at 2018-06-25T11:10:42-03:00
- d/samba.logrotate: only try to reload the services if they are running
(Closes: #902149)
- - - - -
8a86aad4 by Mathieu Parent at 2018-06-25T20:57:33+00:00
Merge branch 'logrotate-with-services-stopped-902149' into 'master'
logrotate: only try to reload the services if they are running
See merge request samba-team/samba!8
- - - - -
1 changed file:
- debian/samba.logrotate
Changes:
=====================================
debian/samba.logrotate
=====================================
--- a/debian/samba.logrotate
+++ b/debian/samba.logrotate
@@ -3,7 +3,7 @@
missingok
rotate 7
postrotate
- [ ! -x /usr/bin/smbcontrol ] || /usr/bin/smbcontrol smbd reload-config
+ [ ! -x /usr/bin/smbcontrol ] || [ ! -f /var/run/samba/smbd.pid ] || /usr/bin/smbcontrol smbd reload-config
endscript
compress
delaycompress
@@ -15,7 +15,7 @@
missingok
rotate 7
postrotate
- [ ! -x /usr/bin/smbcontrol ] || /usr/bin/smbcontrol nmbd reload-config
+ [ ! -x /usr/bin/smbcontrol ] || [ ! -f /var/run/samba/nmbd.pid ] || /usr/bin/smbcontrol nmbd reload-config
endscript
compress
delaycompress
View it on GitLab: https://salsa.debian.org/samba-team/samba/compare/ba36a95d09086a28a3b369a5da2565a99ec289aa...8a86aad490a5e28c9fdd74dd01bef06c4b75180f
--
View it on GitLab: https://salsa.debian.org/samba-team/samba/compare/ba36a95d09086a28a3b369a5da2565a99ec289aa...8a86aad490a5e28c9fdd74dd01bef06c4b75180f
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20180625/535a144c/attachment.html>
More information about the Pkg-samba-maint
mailing list