diff --git a/scripts/_common.sh b/scripts/_common.sh index 7ab456c..a8f18f8 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -8,6 +8,7 @@ pkg_dependencies="postgresql postgresql-contrib" GO_VERSION="1.18" +psql_version=$PSQL_VERSION #================================================= # PERSONAL HELPERS diff --git a/scripts/change_url b/scripts/change_url index ffd08b0..334bd88 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -127,8 +127,6 @@ 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 ace39c9..c5e3d25 100644 --- a/scripts/install +++ b/scripts/install @@ -182,8 +182,6 @@ 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 928a84b..4715f07 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -194,8 +194,6 @@ 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