2015-09-12 23:56:09 +02:00
|
|
|
#!/usr/bin/env bash
|
2015-04-12 03:22:15 +02: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-04-30 09:23:14 +02:00
|
|
|
sudo cp /vagrant/vagrant/php.ini /etc/php5/fpm/php.ini
|
|
|
|
|
2015-04-12 03:22:15 +02:00
|
|
|
sudo cp /vagrant/vagrant/pony.fm.mysql.config /etc/mysql/my.cnf
|
|
|
|
|
|
|
|
sudo cp /vagrant/vagrant/pony.fm.redis.config /etc/redis/redis.conf
|
|
|
|
|
|
|
|
sudo service nginx restart
|
|
|
|
sudo service php5-fpm restart
|
|
|
|
|
|
|
|
sudo service mysql restart
|
|
|
|
|
2015-09-12 23:56:09 +02:00
|
|
|
# todo: figure out how to restart redis
|