1
0
Fork 0
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:
Tagada 2023-08-01 05:34:42 +02:00 committed by Félix Piédallu
parent 4fc51b2572
commit c4841f187a

View file

@ -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