2018-08-03 16:06:29 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# GENERIC START
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
2023-11-01 18:52:07 +01:00
|
|
|
source ./_common.sh
|
2018-08-03 16:06:29 +02:00
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
2023-11-01 18:52:07 +01:00
|
|
|
ynh_app_config_apply() {
|
|
|
|
_ynh_app_config_apply
|
|
|
|
configure_nginx
|
|
|
|
configure_synapse
|
|
|
|
set_permissions
|
2023-07-01 16:07:50 +02:00
|
|
|
}
|
2023-07-01 10:25:47 +02:00
|
|
|
|
2018-08-03 16:06:29 +02:00
|
|
|
#=================================================
|
|
|
|
# GENERIC FINALIZATION
|
|
|
|
#=================================================
|
|
|
|
# SELECT THE ACTION FOLLOWING THE GIVEN ARGUMENT
|
|
|
|
#=================================================
|
2023-01-11 15:02:48 +01:00
|
|
|
ynh_app_config_run $1
|