diff --git a/readme.md b/README.md similarity index 100% rename from readme.md rename to README.md diff --git a/tools/readme.md b/tools/README.md similarity index 100% rename from tools/readme.md rename to tools/README.md diff --git a/vagrant/install.sh b/vagrant/install.sh index feea69bb..f9c74e43 100755 --- a/vagrant/install.sh +++ b/vagrant/install.sh @@ -23,7 +23,7 @@ else sudo make install fi -mkdir /vagrant/logs +mkdir /vagrant/storage/logs/system /vagrant/vagrant/copy-and-restart-configs.sh cd /vagrant diff --git a/vagrant/pony.fm.mysql.config b/vagrant/pony.fm.mysql.config index 224a03e3..3698acdf 100644 --- a/vagrant/pony.fm.mysql.config +++ b/vagrant/pony.fm.mysql.config @@ -74,7 +74,7 @@ query_cache_size = 16M # # Error log - should be very few entries. # -log_error = /vagrant/logs/mysql-error.log +log_error = /vagrant/storage/logs/system/mysql-error.log # # Here you can see queries with especially long duration #log_slow_queries = /var/log/mysql/mysql-slow.log diff --git a/vagrant/pony.fm.nginx.site.config b/vagrant/pony.fm.nginx.site.config index a2c0b7fc..3fbc6dbe 100644 --- a/vagrant/pony.fm.nginx.site.config +++ b/vagrant/pony.fm.nginx.site.config @@ -9,8 +9,8 @@ server { gzip_vary on; server_name pony.fm.local api.pony.fm.local; - access_log /vagrant/logs/nginx-access.log; - error_log /vagrant/logs/nginx-error.log; + access_log /vagrant/storage/logs/system/nginx-access.log; + error_log /vagrant/storage/logs/system/nginx-error.log; root /vagrant/public; location / { @@ -49,4 +49,4 @@ server { internal; alias /vagrant-files/; } -} \ No newline at end of file +}