Merge pull request #1774 from OniriCorpe/logrotate

fix logs folders perms
This commit is contained in:
OniriCorpe 2024-02-20 22:28:41 +01:00 committed by GitHub
commit 613f41dae9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,6 +87,8 @@ EOF
# Make sure permissions are correct (otherwise the config file could be ignored and the corresponding logs never rotated)
chmod 644 "/etc/logrotate.d/$app"
mkdir -p "/var/log/$app"
chmod 640 "/var/log/$app"
}
# Remove the app's logrotate config.