From 95ba236421706d5b85a18f5a20237ead6060ee3c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 15 Mar 2021 19:38:37 +0100 Subject: [PATCH] Fix --- scripts/change_url | 1 + scripts/install | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 6375a95..9bd7c46 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -8,6 +8,7 @@ source _common.sh source /usr/share/yunohost/helpers +ynh_abort_if_errors #================================================= # RETRIEVE ARGUMENTS diff --git a/scripts/install b/scripts/install index 440d3e1..e8e6df6 100644 --- a/scripts/install +++ b/scripts/install @@ -132,8 +132,8 @@ ynh_script_progression --message="Configuring a systemd service..." #ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="../conf/systemd.service" #ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="../conf/systemd.service" -ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service" -ynh_replace_string --match_string="__NODE__" --replace_string="$nodejs_path" --target_file="../conf/systemd.service" +ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service" +ynh_replace_string --match_string="__NODE__" --replace_string="$nodejs_path" --target_file="../conf/systemd.service" ynh_add_systemd_config @@ -161,7 +161,7 @@ yunohost service add $app --description="Client Web IRC" --log="/var/log/$app/$a ynh_script_progression --message="Starting a systemd service..." # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Available at http" +ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Available at http" #================================================= # SETUP SSOWAT