mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Fix mkdir failing if /var/log/mastodon already exists
This commit is contained in:
parent
9cb1a92c67
commit
bf5c01565e
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,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