1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/castopod_ynh.git synced 2024-09-03 18:16:14 +02:00

Update install

This commit is contained in:
ericgaspar 2021-05-20 20:45:17 +02:00
parent 881c423955
commit 8076bec7d1
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -111,7 +111,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#================================================= #=================================================
ynh_script_progression --message="Configuring Castopod..." --weight=1 ynh_script_progression --message="Configuring Castopod..." --weight=1
redis_number=$(shuf -i 0-15 -n 1) redis_number=$(( $YNH_APP_INSTANCE_NUMBER - 1 ))
ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env" ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env"
chmod 600 $final_path/.env chmod 600 $final_path/.env
chown $app:www-data "$final_path/.env" chown $app:www-data "$final_path/.env"