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