Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme does not include hourly option #249

Closed
AlexeyMinasyan opened this issue Apr 18, 2019 · 1 comment
Closed

Readme does not include hourly option #249

AlexeyMinasyan opened this issue Apr 18, 2019 · 1 comment

Comments

@AlexeyMinasyan
Copy link

Readme.md states "Logrotate can be set to handle a log file daily, weekly, monthly or when the log file gets to a certain size."
But from man i see that there is an hourly option.

Can this be added to avoid confusion?
Thanks.

@kdudka
Copy link
Member

kdudka commented Apr 23, 2019

Thank you for reporting the issue! Mentioning hourly in README.md is trivial.

The tricky part is that one needs to change the default cron hook (or systemd timer) to make hourly actually work as expected. I did not find a suitable place in the documentation where this could be mentioned. But I would probably keep the current %description wording in logrotate.spec because the spec file installs both the logrotate binary and the cron hook.

@kdudka kdudka closed this as completed in 66921e4 Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants