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