diff --git a/scripts/install b/scripts/install index 24e3053..d748789 100644 --- a/scripts/install +++ b/scripts/install @@ -127,8 +127,8 @@ ynh_script_progression --message="Configuring permissions" ynh_permission_create --permission="admin" --allowed=$admin # Add gitea to YunoHost's monitored services -ynh_script_progression --message="Register gitea service..." -yunohost service add "$app" --log "/var/log/$app/gitea.log" +ynh_script_progression --message="Register Gitea service..." +yunohost service add "$app" --log="/var/log/$app/gitea.log" # Configure logrotate ynh_script_progression --message="Configuring log rotation..." diff --git a/scripts/restore b/scripts/restore index 7ecb82e..a7ae980 100644 --- a/scripts/restore +++ b/scripts/restore @@ -69,8 +69,8 @@ ynh_script_progression --message="Configuring log rotation..." ynh_use_logrotate --logfile "/var/log/$app" # Add gitea to YunoHost's monitored services -ynh_script_progression --message="Register gitea service..." -yunohost service add "$app" --log /var/log/"$app"/gitea.log +ynh_script_progression --message="Register Gitea service..." +yunohost service add "$app" --log=/var/log/$app/gitea.log # Reload services ynh_script_progression --message="Reloading services..."