diff --git a/scripts/backup b/scripts/backup index b1aa5f0..20f1aed 100755 --- a/scripts/backup +++ b/scripts/backup @@ -67,4 +67,4 @@ ynh_mysql_dump_db --database="$db_name" > db.sql # END OF SCRIPT #================================================= -ynh_print_info --message="Backup script completed for n8n. (YunoHost will then actually copy those files to the archive)." +ynh_print_info --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." diff --git a/scripts/install b/scripts/install index cc7b3cf..dd00681 100755 --- a/scripts/install +++ b/scripts/install @@ -149,7 +149,7 @@ chown $app:$app "$final_path/.env" #================================================= ynh_script_progression --message="Configuring a systemd service..." --weight=4 -ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service" +env_path="$PATH" # Create a dedicated systemd config ynh_add_systemd_config diff --git a/scripts/upgrade b/scripts/upgrade index 8f1af16..8fe6ff0 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -113,7 +113,7 @@ chown $app:$app "$final_path/.env" #================================================= ynh_script_progression --message="Upgrading systemd configuration..." --weight=2 -ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service" +env_path="$PATH" # Create a dedicated systemd config ynh_add_systemd_config