1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dendrite_ynh.git synced 2024-09-03 18:25:58 +02:00

Merge pull request #81 from YunoHost-Apps/testing

Make service start After postgresql
This commit is contained in:
tituspijean 2023-01-22 09:30:27 +01:00 committed by GitHub
commit b8158efd05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 4 deletions

View file

@ -24,7 +24,7 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p
- Scalable: can run on multiple machines and eventually scale to massive homeserver deployments. - Scalable: can run on multiple machines and eventually scale to massive homeserver deployments.
**Shipped version:** 0.10.8~ynh1 **Shipped version:** 0.10.8~ynh2
## Disclaimers / important information ## Disclaimers / important information
:warning: The upstream app is still in beta. Tread carefully. :warning: The upstream app is still in beta. Tread carefully.

View file

@ -24,7 +24,7 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p
- Scalable: can run on multiple machines and eventually scale to massive homeserver deployments. - Scalable: can run on multiple machines and eventually scale to massive homeserver deployments.
**Version incluse :** 0.10.8~ynh1 **Version incluse :** 0.10.8~ynh2
## Avertissements / informations importantes ## Avertissements / informations importantes
:warning: The upstream app is still in beta. Tread carefully. :warning: The upstream app is still in beta. Tread carefully.

View file

@ -1,6 +1,6 @@
[Unit] [Unit]
Description=Dentrite Matrix homeserver Description=Dentrite Matrix homeserver
After=network.target After=network.target postgresql@__PSQL_VERSION__-main.service
[Service] [Service]
Type=simple Type=simple

View file

@ -6,7 +6,7 @@
"en": "Matrix homeserver of second generation", "en": "Matrix homeserver of second generation",
"fr": "Serveur Matrix de seconde génération" "fr": "Serveur Matrix de seconde génération"
}, },
"version": "0.10.8~ynh1", "version": "0.10.8~ynh2",
"url": "https://matrix.org/", "url": "https://matrix.org/",
"upstream": { "upstream": {
"license": "Apache-2.0", "license": "Apache-2.0",

View file

@ -127,6 +127,8 @@ fi
#================================================= #=================================================
ynh_script_progression --message="Updating systemd configuration..." --weight=1 ynh_script_progression --message="Updating systemd configuration..." --weight=1
psql_version=$PSQL_VERSION
# Create a dedicated systemd config # Create a dedicated systemd config
ynh_add_systemd_config ynh_add_systemd_config

View file

@ -182,6 +182,8 @@ chown $app:$app "$final_path/dendrite.yaml"
#================================================= #=================================================
ynh_script_progression --message="Configuring a systemd service..." --weight=1 ynh_script_progression --message="Configuring a systemd service..." --weight=1
psql_version=$PSQL_VERSION
# Create a dedicated systemd config # Create a dedicated systemd config
ynh_add_systemd_config ynh_add_systemd_config

View file

@ -194,6 +194,8 @@ chown $app:$app "$final_path/dendrite.yaml"
#================================================= #=================================================
ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
psql_version=$PSQL_VERSION
# Create a dedicated systemd config # Create a dedicated systemd config
ynh_add_systemd_config ynh_add_systemd_config