mirror of
https://github.com/YunoHost-Apps/dendrite_ynh.git
synced 2024-09-03 18:25:58 +02:00
get settings port etc
This commit is contained in:
parent
e5a2f210b8
commit
daebb34beb
1 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,9 @@ set__registration_disabled() {
|
|||
|
||||
ynh_write_var_in_file --file=$install_dir/dendrite.yaml --key=registration_disabled --value="${registration_disabled}"
|
||||
domain=$(ynh_app_setting_get --app $app --key domain)
|
||||
port_tls=$(ynh_app_setting_get --app $app --key port_tls)
|
||||
port=$(ynh_app_setting_get --app $app --key port)
|
||||
psql_version=$(ynh_app_setting_get --app $app --key psql_version)
|
||||
ynh_add_systemd_config
|
||||
ynh_systemd_action --service_name=$app --action="restart" --line_match="Starting external listener" --log_path="systemd"
|
||||
ynh_app_setting_set --app=$app --key=registration_disabled --value=$registration_disabled
|
||||
|
|
Loading…
Add table
Reference in a new issue