From dca8775e0747e536f416695bc1decfca0dc7c59e Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Wed, 13 Jun 2018 15:35:58 +0200 Subject: main/samba: fix logrotate, use init script to reload samba --- main/samba/samba.logrotate | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'main/samba/samba.logrotate') diff --git a/main/samba/samba.logrotate b/main/samba/samba.logrotate index bf957bd747..88abb909ee 100644 --- a/main/samba/samba.logrotate +++ b/main/samba/samba.logrotate @@ -1,9 +1,9 @@ /var/log/samba/log.* /var/log/samba/*.log { - notifempty - missingok - sharedscripts - copytruncate - postrotate - /bin/kill -HUP `cat /var/run/samba/*.pid 2>/dev/null` 2>/dev/null || true - endscript + notifempty + missingok + sharedscripts + copytruncate + postrotate + /etc/init.d/samba --quiet --ifstarted reload + endscript } -- cgit v1.2.3