mirror of
https://github.com/YunoHost-Apps/mautrix_telegram_ynh.git
synced 2024-09-03 19:45:55 +02:00
small fixes
This commit is contained in:
parent
fd407bee14
commit
5c14127b70
2 changed files with 16 additions and 16 deletions
|
@ -73,7 +73,7 @@ ynh_system_user_create --username=$app
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Restore permissions on app files
|
# Restore permissions on app files
|
||||||
chown -R root: $final_path
|
chown $mautrix_bridge_user:root -R $final_path
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC RESTORATION
|
# SPECIFIC RESTORATION
|
||||||
|
|
|
@ -16,23 +16,23 @@ ynh_script_progression --message="Loading installation settings..." --time --wei
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
domain=$(ynh_app_setting_ --app=$app --key=domain)
|
domain=$(ynh_app_setting_get --app=$app --key=domain)
|
||||||
server_name=$(ynh_app_setting_ --app=$app --key=server_name)
|
server_name=$(ynh_app_setting_get --app=$app --key=server_name)
|
||||||
port=$(ynh_app_setting_ --app=$app --key=port)
|
port=$(ynh_app_setting_get --app=$app --key=port)
|
||||||
botname=$(ynh_app_setting_ --app=$app --key=botname)
|
botname=$(ynh_app_setting_get --app=$app --key=botname)
|
||||||
synapse_instance=$(ynh_app_setting_ --app=$app --key=synapse_instance)
|
synapse_instance=$(ynh_app_setting_get --app=$app --key=synapse_instance)
|
||||||
app_service_registration_path=$(ynh_app_setting_ --app=$app --key=app_service_registration_path)
|
app_service_registration_path=$(ynh_app_setting_get --app=$app --key=app_service_registration_path)
|
||||||
encryption=$(ynh_app_setting_ --app=$app --key=encryption)
|
encryption=$(ynh_app_setting_get --app=$app --key=encryption)
|
||||||
mautrix_bridge_db_name=$(ynh_app_setting_ --app=$app --key=mautrix_bridge_db_name)
|
mautrix_bridge_db_name=$(ynh_app_setting_get --app=$app --key=mautrix_bridge_db_name)
|
||||||
botadmin=$(ynh_app_setting_ --app=$app --key=botadmin)
|
botadmin=$(ynh_app_setting_get --app=$app --key=botadmin)
|
||||||
botusers=$(ynh_app_setting_ --app=$app --key=botusers)
|
botusers=$(ynh_app_setting_get --app=$app --key=botusers)
|
||||||
|
|
||||||
apiid=$(ynh_app_setting_ --app=$app --key=apiid)
|
apiid=$(ynh_app_setting_get --app=$app --key=apiid)
|
||||||
apihash=$(ynh_app_setting_ --app=$app --key=apihash)
|
apihash=$(ynh_app_setting_get --app=$app --key=apihash)
|
||||||
bottoken=$(ynh_app_setting_ --app=$app --key=bottoken)
|
bottoken=$(ynh_app_setting_get --app=$app --key=bottoken)
|
||||||
|
|
||||||
upstream_version=$(ynh_app_setting_ --app=$app --key=mautrix_version)
|
upstream_version=$(ynh_app_setting_get --app=$app --key=mautrix_version)
|
||||||
final_path=$(ynh_app_setting_ --app=$app --key=final_path)
|
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue