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:
parent
bfbe453709
commit
d5567bc816
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue