mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Fix mkdir failing if /var/log/mastodon already exists
This commit is contained in:
parent
4fc51b2572
commit
c4841f187a
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ yunohost service add "$app-streaming" --description="$app streaming service"
|
|||
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
|
||||
|
||||
# Use logrotate to manage application logfile(s)
|
||||
mkdir /var/log/$app
|
||||
mkdir -p /var/log/$app
|
||||
chown $app:$app /var/log/$app
|
||||
ynh_use_logrotate
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue