]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
logrotate: fix log rotation with systemd 5446/head
authorSage Weil <sage@redhat.com>
Mon, 3 Aug 2015 18:41:28 +0000 (14:41 -0400)
committerSage Weil <sage@redhat.com>
Mon, 3 Aug 2015 18:41:43 +0000 (14:41 -0400)
commit145364bbd933da8c1f384bea41f1b5cf37e9e082
tree94d65e5c1efadfe6e173c72b13a247f8e221ed01
parentec8433df38b7b78b373f7208d28012605ac3d0d9
logrotate: fix log rotation with systemd

systemctl does not have a nice way to enumerate (active) units so we can
reload them.  On centos7, the is-active wildcard syntax does not appear to
be supported.  On fedora 22, it prints the state only but not which unit
the state belongs to.

Simply killall -1 instead.

Signed-off-by: Sage Weil <sage@redhat.com>
src/logrotate.conf
src/rgw/logrotate.conf