mirror of
https://github.com/krislamo/graylog_demo
synced 2024-12-16 06:50:35 +00:00
Prevent error if /var/log/containers folder exists
This commit is contained in:
parent
e509d3bad6
commit
79980fde84
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@ -56,7 +56,7 @@ Vagrant.configure("2") do |config|
|
|||||||
yum install -y td-agent
|
yum install -y td-agent
|
||||||
td-agent-gem install fluent-plugin-gelf-hs gelf
|
td-agent-gem install fluent-plugin-gelf-hs gelf
|
||||||
cp /vagrant/td-agent.conf /etc/td-agent/td-agent.conf
|
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
|
chown -R td-agent:td-agent /var/log/containers
|
||||||
chmod -R 755 /var/log
|
chmod -R 755 /var/log
|
||||||
systemctl restart td-agent
|
systemctl restart td-agent
|
||||||
|
Loading…
Reference in New Issue
Block a user