diff options
Diffstat (limited to 'sys-cluster/ceph/files/ceph.logrotate-r1')
-rw-r--r-- | sys-cluster/ceph/files/ceph.logrotate-r1 | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sys-cluster/ceph/files/ceph.logrotate-r1 b/sys-cluster/ceph/files/ceph.logrotate-r1 deleted file mode 100644 index df03f5e..0000000 --- a/sys-cluster/ceph/files/ceph.logrotate-r1 +++ /dev/null @@ -1,18 +0,0 @@ -/var/log/ceph/*.log -{ - rotate 7 - daily - compress - sharedscripts - prerotate - for dmn in $(cd /run/ceph && ls *.asok 2>/dev/null); do - ceph --admin-daemon /run/ceph/${dmn} log flush 2>/dev/null >/dev/null - done - endscript - postrotate - for dmn in $(cd /run/ceph && ls *.asok 2>/dev/null); do - ceph --admin-daemon /run/ceph/${dmn} log reopen 2>/dev/null >/dev/null - done - endscript - missingok -} |