From b6dcf3d9c35514fb84f2addef3e20588e1650283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sat, 7 Sep 2019 11:02:15 +0200 Subject: [PATCH] Fix log path --- scripts/install | 2 +- scripts/restore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 93e6a92..74eb776 100644 --- a/scripts/install +++ b/scripts/install @@ -108,7 +108,7 @@ ynh_mysql_connect_as "$dbuser" "$dbpass" "$dbname" < ../conf/login_source.sql set_access_settings # Add gitea to YunoHost's monitored services -yunohost service add "$app" --log "/var/log/$app/$app.log" +yunohost service add "$app" --log "/var/log/$app/gitea.log" # Configure logrotate ynh_use_logrotate "/var/log/$app" diff --git a/scripts/restore b/scripts/restore index 9adcfb4..82bb8d4 100644 --- a/scripts/restore +++ b/scripts/restore @@ -66,7 +66,7 @@ set_permission ynh_use_logrotate "/var/log/$app" # Add gitea to YunoHost's monitored services -yunohost service add "$app" --log /var/log/"$app"/"$app".log +yunohost service add "$app" --log /var/log/"$app"/gitea.log # Reload services systemctl reload nginx.service