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:
commit
b8158efd05
7 changed files with 10 additions and 4 deletions
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue