diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-06-13 15:35:58 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-06-13 15:31:13 +0200 |
commit | dca8775e0747e536f416695bc1decfca0dc7c59e (patch) | |
tree | d9c71cb47296c4f1b54e9703bd45698a15386ab3 | |
parent | c9c5c29e3af0c3fead59ec5aa80b21992f6d656d (diff) | |
download | aports-dca8775e0747e536f416695bc1decfca0dc7c59e.tar.bz2 aports-dca8775e0747e536f416695bc1decfca0dc7c59e.tar.xz |
main/samba: fix logrotate, use init script to reload samba
-rw-r--r-- | main/samba/APKBUILD | 4 | ||||
-rw-r--r-- | main/samba/samba.logrotate | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/main/samba/APKBUILD b/main/samba/APKBUILD index 28432f016a..7268fcccd9 100644 --- a/main/samba/APKBUILD +++ b/main/samba/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=samba pkgver=4.8.2 -pkgrel=0 +pkgrel=1 pkgdesc="Tools to access a server's filespace and printers via SMB" url="http://www.samba.org" arch="all" @@ -518,4 +518,4 @@ a99e771f28d787dc22e832b97aa48a1c5e13ddc0c030c501a3c12819ff6e62800ef084b62930abe8 202667cb0383414d9289cd67574f5e1140c9a0ff63bb82a746a59b2397a00db15654bfb30cb5ec1cd68a097899be0f849d9aab4c0d210152386c9e66c640f0c0 netapp.patch 6bee83aab500f27248b315d8a5f567940d7232269b021d801b3d51c20ed9e4aad513ee0117f356fb388014a63a145beacb55307ef9addbf7997987304b548fcf samba.initd 4faf581ecef3ec38319e3c4ab6d3995c51fd7ba83180dc5553a2ff4dfb92efadb43030c543292130c4ed0c281dc0972c6973d52d48062c5edb39bb1c4bbb6dd6 samba.confd -f88ebe59ca3a9e9b77dd5993c13ef3e73a838efb8ed858088b464a330132d662f33e25c27819e38835389dee23057a3951de11bae1eef55db8ff5e1ec6760053 samba.logrotate" +3458a4e1f8a8b44c966afb339b2dca51615be049f594c14911fc4d8203623deee416b6fe881436e246fc7d49c97a2b3bf9c5f33ba774302b24190a1103d6b67d 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 } |