Bug 25966 - добавить скрипт logrotate
: добавить скрипт logrotate
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/mongo)
: unstable
: all Linux
: P3 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2011-07-29 15:21 by
Modified: 2011-08-03 00:11 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2011-07-29 15:21:01
Не работает ротейт логов
Прошу добавить скрипт для logrotate
/var/log/mongo/mongod.log {
    rotate 10
    daily
    missingok
    notifempty
    compress
    postrotate
       /usr/bin/killall -SIGUSR1 mongod
    endscript
}
------- Comment #1 From 2011-08-03 00:11:54 -------
mongo-1.8.2-alt2 -> sisyphus:

* Mon Aug 01 2011 Vitaly Kuznetsov <vitty@altlinux> 1.8.2-alt2
- add logrotate script (ALT #25966)