fix logs folders perms

This commit is contained in:
OniriCorpe 2024-02-13 02:36:08 +01:00
parent 3574a7792d
commit 61df4add8c

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.