mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
fix
This commit is contained in:
parent
1dd0e4a4f0
commit
1d10074988
2 changed files with 3 additions and 19 deletions
|
@ -54,9 +54,9 @@ ram.runtime = "50M"
|
|||
|
||||
[resources]
|
||||
[resources.sources]
|
||||
#[resources.sources.armv7_bookworm]
|
||||
#url = "https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.84.1/matrix-synapse_1.84.1-bookworm-bin1_armv7l.tar.gz"
|
||||
#sha256 = "fd516b379687540aa74c828a8d93cb05e59a04c03508258cfb6b331cfb80ea18"
|
||||
[resources.sources.armv7_bookworm]
|
||||
url = "https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.84.1/matrix-synapse_1.84.1-bookworm-bin1_armv7l.tar.gz"
|
||||
sha256 = "fd516b379687540aa74c828a8d93cb05e59a04c03508258cfb6b331cfb80ea18"
|
||||
|
||||
[resources.sources.armv7_bullseye]
|
||||
url = "https://github.com/YunoHost-Apps/synapse_python_build/releases/download/v1.84.1/matrix-synapse_1.84.1-bullseye-bin1_armv7l.tar.gz"
|
||||
|
|
|
@ -64,22 +64,6 @@ ynh_script_progression --message="Reload Fail2Ban..." --weight=6
|
|||
|
||||
ynh_systemd_action --action=restart --service_name=fail2ban
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE POSTGRESQL DATABASE
|
||||
#=================================================
|
||||
# ynh_script_progression --message="Restoring the PostgreSQL database..." --weight=13
|
||||
|
||||
# #REMOVEME? ynh_psql_test_if_first_run
|
||||
# ynh_psql_create_user $synapse_db_user $synapse_db_pwd
|
||||
# ynh_psql_execute_as_root \
|
||||
# --sql="CREATE DATABASE $synapse_db_name
|
||||
# ENCODING 'UTF8'
|
||||
# LC_COLLATE='C'
|
||||
# LC_CTYPE='C'
|
||||
# template=template0
|
||||
# OWNER $synapse_db_user;"
|
||||
# ynh_psql_execute_file_as_root --file="${YNH_CWD}/dump.sql" --database="$synapse_db_name"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE POSTGRESQL DATABASE
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue