#!/bin/bash
sudo sed -i 's/post_max_size = 8M/post_max_size = 20M/g' /etc/php.ini
sudo sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 20M/g' /etc/php.ini
sudo systemctl restart nginx
sudo systemctl restart php-fpm
sudo -u webapp curl -o /var/app/current/player/subscribe.xml http://www.internal.theanfieldwrap.com/?feed=taw_player_subscribe_feed
sudo -u webapp curl -o /var/app/current/basic/basic.xml http://www.internal.theanfieldwrap.com/?feed=taw_player_basic_feed