summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian/samba.logrotate
diff options
context:
space:
mode:
authorEloy Paris <peloy@samba.org>2003-06-01 07:12:51 +0000
committerEloy Paris <peloy@samba.org>2003-06-01 07:12:51 +0000
commit57be8ec8ac6158a37bfe78e97e8f05cd3a3bf54d (patch)
tree38a531bc4190daee2f461a6a51f1f5e6abe835cf /packaging/Debian/debian/samba.logrotate
parentf6b7bb44a61583a4743767d7ea5e3de5127e0176 (diff)
downloadsamba-57be8ec8ac6158a37bfe78e97e8f05cd3a3bf54d.tar.gz
samba-57be8ec8ac6158a37bfe78e97e8f05cd3a3bf54d.tar.bz2
samba-57be8ec8ac6158a37bfe78e97e8f05cd3a3bf54d.zip
Bringing packaging/Debian/* to a more recent state.
(This used to be commit cd7494a19608f2b4a63b9c654dd8e0a0fc587c39)
Diffstat (limited to 'packaging/Debian/debian/samba.logrotate')
-rw-r--r--packaging/Debian/debian/samba.logrotate4
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