mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1787 from YunoHost/fix-logs
Fix logs directories access
This commit is contained in:
commit
a735f68cc9
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ EOF
|
||||||
# Make sure permissions are correct (otherwise the config file could be ignored and the corresponding logs never rotated)
|
# Make sure permissions are correct (otherwise the config file could be ignored and the corresponding logs never rotated)
|
||||||
chmod 644 "/etc/logrotate.d/$app"
|
chmod 644 "/etc/logrotate.d/$app"
|
||||||
mkdir -p "/var/log/$app"
|
mkdir -p "/var/log/$app"
|
||||||
chmod 640 "/var/log/$app"
|
chmod 750 "/var/log/$app"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Remove the app's logrotate config.
|
# Remove the app's logrotate config.
|
||||||
|
|
Loading…
Add table
Reference in a new issue