1
0
Fork 0
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:
ericgaspar 2023-12-31 10:13:48 +01:00
parent 60ee1934e6
commit b232aef49a

View file

@ -15,11 +15,15 @@ source /usr/share/yunohost/helpers
admin_mail=$(ynh_user_get_info --username=$admin --key="mail")
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)
ynh_app_setting_set --app=$app --key=secrets_peertube --value=$secrets_peertube
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"
#=================================================