From 79980fde84d727e193389f300cd8bd59ee6828e8 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Thu, 19 Mar 2020 11:48:47 -0400 Subject: [PATCH] Prevent error if /var/log/containers folder exists --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 0789a1e..4b47723 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -56,7 +56,7 @@ Vagrant.configure("2") do |config| yum install -y td-agent td-agent-gem install fluent-plugin-gelf-hs gelf cp /vagrant/td-agent.conf /etc/td-agent/td-agent.conf - mkdir /var/log/containers + mkdir -p /var/log/containers chown -R td-agent:td-agent /var/log/containers chmod -R 755 /var/log systemctl restart td-agent