mirror of
https://github.com/YunoHost-Apps/minio_ynh.git
synced 2024-09-03 19:46:18 +02:00
Better key handling
This commit is contained in:
parent
39332b8b3c
commit
dda3d8b798
1 changed files with 4 additions and 4 deletions
|
@ -41,8 +41,8 @@ is_public=$YNH_APP_ARG_IS_PUBLIC
|
|||
### db names...
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
|
||||
id="minio"
|
||||
key="miniostorage" # TO BE CHANGED TO RANDOM GEN
|
||||
minio_id="minio"
|
||||
minio_key=`openssl rand -hex 32` # TO BE CHANGED TO RANDOM GEN
|
||||
|
||||
#=================================================
|
||||
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
|
||||
|
@ -77,8 +77,8 @@ ynh_script_progression --message="Storing installation settings..." --time --wei
|
|||
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=language --value=$language
|
||||
ynh_app_setting_set --app=$app --key=id --value=$id
|
||||
ynh_app_setting_set --app=$app --key=key --value=$key
|
||||
ynh_app_setting_set --app=$app --key=minio_id --value=$minio_id
|
||||
ynh_app_setting_set --app=$app --key=minio_key --value=$minio_key
|
||||
|
||||
#=================================================
|
||||
# STANDARD MODIFICATIONS
|
||||
|
|
Loading…
Add table
Reference in a new issue