mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
commit
3bea6550d9
6 changed files with 11 additions and 7 deletions
|
@ -14,7 +14,7 @@ Instant messaging server matrix network.
|
||||||
|
|
||||||
Yunohost chatroom with matrix : [https://riot.im/app/#/room/#yunohost:matrix.org](https://riot.im/app/#/room/#yunohost:matrix.org)
|
Yunohost chatroom with matrix : [https://riot.im/app/#/room/#yunohost:matrix.org](https://riot.im/app/#/room/#yunohost:matrix.org)
|
||||||
|
|
||||||
**Shipped version:** 1.38.0
|
**Shipped version:** 1.42.0
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.38.0/matrix-synapse_1.38.0-bullseye-bin1_armv7l.tar.gz
|
SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.42.0/matrix-synapse_1.42.0-bullseye-bin1_armv7l.tar.gz
|
||||||
SOURCE_SUM=2dfb596c54ea38c9a70f5ca75d3dc868ee8458df7d967e76308cee890163f483
|
SOURCE_SUM=23069ded1a9a8032e8649732115c404d905cc3d74bed352c65b261484678fbc5
|
||||||
# (Optional) Program to check the integrity (sha256sum, md5sum...)
|
# (Optional) Program to check the integrity (sha256sum, md5sum...)
|
||||||
# default: sha256
|
# default: sha256
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.38.0/matrix-synapse_1.38.0-buster-bin1_armv7l.tar.gz
|
SOURCE_URL=https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.42.0/matrix-synapse_1.42.0-buster-bin1_armv7l.tar.gz
|
||||||
SOURCE_SUM=78a7cc5d108da270c06d42d1ba9c7bfc5edab95e1c3118635ccae10761348c6e
|
SOURCE_SUM=be6c97d736d929514702ffeee29e62cacda7d2ef01e96aef58ca700a349dabf7
|
||||||
# (Optional) Program to check the integrity (sha256sum, md5sum...)
|
# (Optional) Program to check the integrity (sha256sum, md5sum...)
|
||||||
# default: sha256
|
# default: sha256
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Instant messaging server which uses Matrix",
|
"en": "Instant messaging server which uses Matrix",
|
||||||
"fr": "Un serveur de messagerie instantané basé sur Matrix"
|
"fr": "Un serveur de messagerie instantané basé sur Matrix"
|
||||||
},
|
},
|
||||||
"version": "1.38.0~ynh1",
|
"version": "1.42.0~ynh1",
|
||||||
"url": "http://matrix.org",
|
"url": "http://matrix.org",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -64,5 +64,9 @@ install_sources() {
|
||||||
set +$u_arg;
|
set +$u_arg;
|
||||||
deactivate
|
deactivate
|
||||||
set -$u_arg;
|
set -$u_arg;
|
||||||
|
|
||||||
|
# Remove Rust to reduce backup size
|
||||||
|
ynh_secure_remove --file=$final_path/.rustup
|
||||||
|
ynh_secure_remove --file=$final_path/.cargo
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -115,7 +115,7 @@ ynh_backup --src_path="$data_path" --is_big=1
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info --message="Backing up synapse log..."
|
ynh_print_info --message="Backing up synapse log..."
|
||||||
|
|
||||||
ynh_backup --src_path="/var/log/matrix-$app"
|
ynh_backup --src_path="/var/log/matrix-$app" --is_big=1
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP HOOKS
|
# BACKUP HOOKS
|
||||||
|
|
Loading…
Reference in a new issue