2015-09-12 23:56:09 +02:00
|
|
|
#!/usr/bin/env bash
|
2015-12-20 19:30:51 +01:00
|
|
|
|
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-12-20 19:30:51 +01:00
|
|
|
sudo cp /vagrant/vagrant/php-overrides.ini /etc/php/7.0/fpm/99-overrides.ini
|
2015-04-12 03:22:15 +02:00
|
|
|
|
|
|
|
sudo cp /vagrant/vagrant/pony.fm.redis.config /etc/redis/redis.conf
|
|
|
|
|
2016-01-17 16:53:18 +01:00
|
|
|
sudo service elasticsearch restart
|
2015-04-12 03:22:15 +02:00
|
|
|
sudo service nginx restart
|
2015-12-20 19:30:51 +01:00
|
|
|
sudo service php7.0-fpm restart
|
2015-04-12 03:22:15 +02:00
|
|
|
|
2015-09-12 23:56:09 +02:00
|
|
|
# todo: figure out how to restart redis
|