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

Touch/chown lighttpd access/error logs on service start #991

Merged
merged 1 commit into from Jan 26, 2022

Conversation

PromoFaux
Copy link
Member

Description

Playing about with some alternatives to #990, I noticed that if we didn't create FIFO pipes, but instead just tail -f existing log files, they need to actually exist first...

Motivation and Context

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

…00% neccasery currently, but could be useful

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
@PromoFaux PromoFaux merged commit a29faad into dev Jan 26, 2022
@PromoFaux PromoFaux deleted the tweak/lighttpd-run branch January 26, 2022 18:30
Copy link
Contributor

@edgd1er edgd1er left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chown -R www-data:www-data /var/log/lighttpd would also set perms on dir, which sometimes is needed.

PromoFaux added a commit that referenced this pull request Jan 26, 2022
@PromoFaux
Copy link
Member Author

Thanks, that makes sense actually. I've tweaked it

PromoFaux added a commit that referenced this pull request Jan 26, 2022
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.

None yet

2 participants