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

Fix log rotation #690

Merged
merged 3 commits into from
Sep 4, 2024
Merged

Conversation

andrey-utkin
Copy link
Contributor

See #596

In Debian, even with rsyslog installed, there's no "syslog" user, and
rsyslog runs as root.
It is expected that rsyslog will create the file itself.
There are no particular automated use of log files, so it doesn't matter
for files to have "bluecherry" group and be readable for that group.
@andrey-utkin andrey-utkin mentioned this pull request Sep 4, 2024
@andrey-utkin andrey-utkin marked this pull request as ready for review September 4, 2024 17:49
Not clear how well the previous script worked.

The replacement was picked up from /etc/logrotate.d/rsyslog on Ubuntu
22.04 , which boils down to sending SIGHUP to rsyslog, which is the
classical way and is very likely to work. How broadly available is this
command remains to be seen.
@andrey-utkin andrey-utkin merged commit 32504ff into bluecherrydvr:master Sep 4, 2024
1 of 2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants