1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00

Update upgrade

This commit is contained in:
oufmilo 2022-12-19 17:54:52 +01:00 committed by GitHub
parent bfbe453709
commit d5567bc816
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -212,7 +212,7 @@ chown -R $app:www-data "$datadir"
if [ -z "$secrets_peertube" ]; then if [ -z "$secrets_peertube" ]; then
ynh_script_progression --message="Generating and storing PeerTube secrets..." ynh_script_progression --message="Generating and storing PeerTube secrets..."
secrets_peertube=$(openssl rand -hex 32) secrets_peertube=$(ynh_string_random --length=24)
ynh_app_setting_set --app=$app --key=secrets_peertube --value=$secrets_peertube ynh_app_setting_set --app=$app --key=secrets_peertube --value=$secrets_peertube
fi fi