Pony.fm/vagrant/copy-and-restart-configs.sh

14 lines
421 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2015-12-20 10:30:51 -08:00
2015-04-11 20:22:15 -05:00
sudo cp /vagrant/vagrant/pony.fm.nginx.config /etc/nginx/nginx.conf
sudo cp /vagrant/vagrant/pony.fm.nginx.site.config /etc/nginx/sites-enabled/pony.fm
2015-12-20 10:30:51 -08:00
sudo cp /vagrant/vagrant/php-overrides.ini /etc/php/7.0/fpm/99-overrides.ini
2015-04-11 20:22:15 -05:00
sudo cp /vagrant/vagrant/pony.fm.redis.config /etc/redis/redis.conf
sudo service nginx restart
2015-12-20 10:30:51 -08:00
sudo service php7.0-fpm restart
2015-04-11 20:22:15 -05:00
# todo: figure out how to restart redis