Answer the question
In order to leave comments, you need to log in
Why doesn't logrotate start automatically?
How to find out why logrotate doesn't work automatically?
I tried different config options, but it seems to be not the case, the current version is:
~/путь_до_проекта/log/production.log {
su ubuntu ubuntu
hourly
size 100M
missingok
rotate 15
compress
notifempty
copytruncate
}
sudo logrotate -f /etc/logrotate.d/файл_конфига
, everything goes as planned, but nothing happens again, the same is observed with any config option, even without hourly/daily/etc..., for daily didcp -i /etc/cron.daily/logrotate /etc/cron.hourly/
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question