diff --git a/check_process b/check_process index 21f1451..2306c4b 100644 --- a/check_process +++ b/check_process @@ -17,13 +17,8 @@ upgrade=1 from_commit=2d33783907d6de4486ac9e954ebc4b4028e11de8 backup_restore=1 multi_instance=1 - # This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version. - # incorrect_path=1 port_already_use=1 (8095) change_url=1 -;;; Levels - # If the level 5 (Package linter) is forced to 1. Please add justifications here. - Level 5=auto ;;; Upgrade options ; commit=2d33783907d6de4486ac9e954ebc4b4028e11de8 name=0.21-4~ynh4 diff --git a/scripts/install b/scripts/install index 898531c..28422c1 100644 --- a/scripts/install +++ b/scripts/install @@ -180,7 +180,7 @@ ynh_use_logrotate #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --log "/var/log/$app.log" --log "/var/www/$app/log/production.log" +yunohost service add $app --log="/var/log/$app.log" --log="/var/www/$app/log/production.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/restore b/scripts/restore index 896ccd4..7fe903d 100644 --- a/scripts/restore +++ b/scripts/restore @@ -101,7 +101,7 @@ ynh_psql_execute_file_as_root --file="./db.sql" --database="$db_name" ynh_script_progression --message="Restoring the systemd configuration..." ynh_restore_file --origin_path="/etc/systemd/system/$app.service" -systemctl enable $app.service +systemctl enable $app.service --quiet #================================================= # INTEGRATE SERVICE IN YUNOHOST diff --git a/scripts/upgrade b/scripts/upgrade index 8c246ad..f9bffde 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -227,6 +227,13 @@ ynh_script_progression --message="Integrating service in YunoHost..." yunohost service add $app --log "/var/log/$app.log" --log "/var/www/$app/log/production.log" +#================================================= +# INTEGRATE SERVICE IN YUNOHOST +#================================================= +ynh_script_progression --message="Integrating service in YunoHost..." + +yunohost service add $app --log="/var/log/$app.log" --log="/var/www/$app/log/production.log" + #================================================= # SETUP SSOWAT #=================================================