mirror of
https://github.com/YunoHost-Apps/peertube_ynh.git
synced 2024-09-03 19:56:29 +02:00
Update install
This commit is contained in:
parent
60ee1934e6
commit
b232aef49a
1 changed files with 7 additions and 3 deletions
|
@ -15,11 +15,15 @@ source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
admin_mail=$(ynh_user_get_info --username=$admin --key="mail")
|
admin_mail=$(ynh_user_get_info --username=$admin --key="mail")
|
||||||
admin_pass=$(ynh_string_random --length=24)
|
admin_pass=$(ynh_string_random --length=24)
|
||||||
ynh_app_setting_set --app=$app --key=admin_pass --value=$admin_pass
|
|
||||||
secrets_peertube=$(ynh_string_random --length=24)
|
secrets_peertube=$(ynh_string_random --length=24)
|
||||||
ynh_app_setting_set --app=$app --key=secrets_peertube --value=$secrets_peertube
|
|
||||||
|
|
||||||
redis_db=$(ynh_redis_get_free_db)
|
redis_db=$(ynh_redis_get_free_db)
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# STORE SETTINGS FROM MANIFEST
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
ynh_app_setting_set --app=$app --key=admin_pass --value=$admin_pass
|
||||||
|
ynh_app_setting_set --app=$app --key=secrets_peertube --value=$secrets_peertube
|
||||||
ynh_app_setting_set --app="$app" --key=redis_db --value="$redis_db"
|
ynh_app_setting_set --app="$app" --key=redis_db --value="$redis_db"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue