diff options
Diffstat (limited to 'packaging/Debian/debian/samba.logrotate')
-rw-r--r-- | packaging/Debian/debian/samba.logrotate | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/Debian/debian/samba.logrotate b/packaging/Debian/debian/samba.logrotate index d264ce3d71..f90437bf2a 100644 --- a/packaging/Debian/debian/samba.logrotate +++ b/packaging/Debian/debian/samba.logrotate @@ -3,7 +3,7 @@ missingok rotate 7 postrotate - killall -q -HUP smbd || true + invoke-rc.d --quiet samba reload > /dev/null endscript compress notifempty @@ -14,7 +14,7 @@ missingok rotate 7 postrotate - killall -q -HUP nmbd || true + [ -f /var/run/samba/nmbd.pid ] && kill -HUP `cat /var/run/samba/nmbd.pid` endscript compress notifempty |