diff --git a/check_process b/check_process index 52c00de..6dcc829 100644 --- a/check_process +++ b/check_process @@ -20,9 +20,6 @@ multi_instance=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=64a53051c3cd12840ca32b2fdaf0c3063e0158bf name=Merge pull request #42 from YunoHost-Apps/testing diff --git a/scripts/backup b/scripts/backup index b8decc0..111d116 100644 --- a/scripts/backup +++ b/scripts/backup @@ -34,7 +34,6 @@ db_name=$(ynh_app_setting_get --app=$app --key=db_name) #================================================= # DECLARE DATA AND CONF FILES TO BACKUP #================================================= - ynh_print_info --message="Declaring files to be backed up..." #================================================= diff --git a/scripts/install b/scripts/install index 026e097..ba5f63a 100644 --- a/scripts/install +++ b/scripts/install @@ -39,9 +39,6 @@ ynh_script_progression --message="Validating installation parameters..." final_path=/var/www/$app test ! -e "$final_path" || ynh_die --message="This path already contains a folder" -# Normalize the url path syntax -path_url=$(ynh_normalize_url_path --path_url=$path_url) - # Check if max_file_size is a number if ! [[ $max_file_size =~ "^[\-0-9]+$" ]] && [ $max_file_size -lt 0 ]; then ynh_die --message="Max file must be a number positive or zero" @@ -199,7 +196,7 @@ ynh_use_logrotate #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --description "Lufi service" --log "$final_path/log/production.log" +yunohost service add $app --description="Lufi service" --log="$final_path/log/production.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/restore b/scripts/restore index 7bb349b..50f8303 100644 --- a/scripts/restore +++ b/scripts/restore @@ -101,14 +101,14 @@ 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 #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --description "lufi service" --log "$final_path/log/production.log" +yunohost service add $app --description="Lufi service" --log="$final_path/log/production.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/upgrade b/scripts/upgrade index ec3e3b5..959aa2b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -211,7 +211,7 @@ chmod +x $final_path/script/lufi #================================================= ynh_script_progression --message="Storing the config file checksum..." -yunohost service add $app --description "lufi service" --log "$final_path/log/production.log" +yunohost service add $app --description="Lufi service" --log="$final_path/log/production.log" #================================================= # SETUP LOGROTATE