mirror of
https://github.com/YunoHost-Apps/coturn_ynh.git
synced 2024-09-03 18:16:32 +02:00
Fix
This commit is contained in:
parent
b2ee0e0fea
commit
794ff052de
2 changed files with 1 additions and 6 deletions
|
@ -25,10 +25,8 @@ ynh_abort_if_errors
|
|||
|
||||
domain=$YNH_APP_ARG_DOMAIN
|
||||
path_url="/"
|
||||
#admin=$YNH_APP_ARG_ADMIN
|
||||
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
data_path="/home/yunohost.app/$app"
|
||||
|
||||
#=================================================
|
||||
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
|
||||
|
@ -49,7 +47,6 @@ ynh_script_progression --message="Storing installation settings..." --weight=4
|
|||
ynh_app_setting_set --app=$app --key=domain --value=$domain
|
||||
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
||||
ynh_app_setting_set --app=$app --key=no_sso --value true
|
||||
#ynh_app_setting_set --app=$app --key=admin --value=$admin
|
||||
|
||||
#=================================================
|
||||
# CREATE A DH FILE
|
||||
|
@ -166,6 +163,7 @@ ynh_store_file_checksum --file="$coturn_config_path"
|
|||
|
||||
# WARNING : theses command are used in INSTALL, UPGRADE
|
||||
# For any update do it in all files
|
||||
data_path="/home/yunohost.app/$app"
|
||||
mkdir -p $data_path
|
||||
cp -f ../sources/Coturn_config_rotate.sh $data_path/
|
||||
chmod +x $data_path/Coturn_config_rotate.sh
|
||||
|
|
|
@ -20,8 +20,6 @@ domain=$(ynh_app_setting_get --app=$app --key=domain)
|
|||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||
turnserver_tls_port=$(ynh_app_setting_get --app=$app --key=turnserver_tls_port)
|
||||
turnserver_alt_tls_port=$(ynh_app_setting_get --app=$app --key=turnserver_alt_tls_port)
|
||||
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
||||
db_user=$db_name
|
||||
|
||||
#=================================================
|
||||
# STANDARD REMOVE
|
||||
|
@ -108,7 +106,6 @@ closeport() {
|
|||
ynh_script_progression --message="Removing the dedicated system user..." --weight=1
|
||||
|
||||
# Delete a system user
|
||||
deluser turnserver ssl-cert
|
||||
ynh_system_user_delete --username=turnserver
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue