diff --git a/scripts/change_url b/scripts/change_url index e14a009..43b84fb 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -30,10 +30,10 @@ ynh_change_url_nginx_config #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template=".env" --destination="$install_dir/.env.local" +ynh_add_config --template=".env" --destination="$install_dir/app/.env.local" -chmod 400 "$install_dir/.env.local" -chown $app:$app "$install_dir/.env.local" +chmod 400 "$install_dir/app/.env.local" +chown $app:$app "$install_dir/app/.env.local" #================================================= # GENERIC FINALISATION