mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
fix logs folders perms
This commit is contained in:
parent
3574a7792d
commit
61df4add8c
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue