From 16fa478e1c138b5efa2c8cebaf797f231a0582dd Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 8 Jan 2023 13:11:57 +0100 Subject: [PATCH] Make sure the psql version is loaded --- scripts/change_url | 2 ++ scripts/install | 2 ++ scripts/upgrade | 2 ++ 3 files changed, 6 insertions(+) diff --git a/scripts/change_url b/scripts/change_url index 334bd88..ffd08b0 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -127,6 +127,8 @@ fi #================================================= ynh_script_progression --message="Updating systemd configuration..." --weight=1 +psql_version=$PSQL_VERSION + # Create a dedicated systemd config ynh_add_systemd_config diff --git a/scripts/install b/scripts/install index c5e3d25..ace39c9 100644 --- a/scripts/install +++ b/scripts/install @@ -182,6 +182,8 @@ chown $app:$app "$final_path/dendrite.yaml" #================================================= ynh_script_progression --message="Configuring a systemd service..." --weight=1 +psql_version=$PSQL_VERSION + # Create a dedicated systemd config ynh_add_systemd_config diff --git a/scripts/upgrade b/scripts/upgrade index 4715f07..928a84b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -194,6 +194,8 @@ chown $app:$app "$final_path/dendrite.yaml" #================================================= ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 +psql_version=$PSQL_VERSION + # Create a dedicated systemd config ynh_add_systemd_config