From d13f854cd2508e40bd1d5eb1ac6d7da5a05dec42 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 4 Dec 2020 14:11:53 +0100 Subject: [PATCH] Fix linter warnings --- check_process | 2 -- scripts/install | 2 +- scripts/restore | 4 ++-- scripts/upgrade | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/check_process b/check_process index 510f4c2..3d187c6 100644 --- a/check_process +++ b/check_process @@ -16,8 +16,6 @@ incorrect_path=1 port_already_use=0 change_url=1 -;;; Levels - Level 5=auto ;;; Options Email= Notification=none diff --git a/scripts/install b/scripts/install index c6bc6bf..8694927 100644 --- a/scripts/install +++ b/scripts/install @@ -149,7 +149,7 @@ ynh_systemd_action --service_name=$app --action=start #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 -yunohost service add $app --description "News feed reader and aggregator" +yunohost service add $app --description="News feed reader and aggregator" --log="/var/log/$app/$app.log" #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index 74848b5..fc027a8 100644 --- a/scripts/restore +++ b/scripts/restore @@ -93,7 +93,7 @@ ynh_mysql_connect_as --user=$db_name --password=$db_pwd --database=$db_name < ./ #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 -yunohost service add $app --description "News feed reader and aggregator" +yunohost service add $app --description="News feed reader and aggregator" --log="/var/log/$app/$app.log" #================================================= # RESTORE SYSTEMD @@ -101,7 +101,7 @@ yunohost service add $app --description "News feed reader and aggregator" ynh_script_progression --message="Restoring the systemd configuration..." --weight=2 ynh_restore_file --origin_path="/etc/systemd/system/$app.service" -systemctl enable $app.service +systemctl enable $app.service --quiet ynh_systemd_action --service_name=$app --action=start #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 50385fd..df257fe 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -187,7 +187,7 @@ ynh_systemd_action --service_name=$app --action=restart #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 -yunohost service add $app --description "News feed reader and aggregator" +yunohost service add $app --description="News feed reader and aggregator" --log="/var/log/$app/$app.log" #================================================= # GENERIC FINALIZATION