792666dd79
Part of ELK stack. Includes Dockerfiles for both Centos and Ubuntu. Change-Id: I9f76adf084cd4f68e29326112b76ffd02b5adada Partially-implements: blueprint central-logging-service
7 lines
227 B
Bash
7 lines
227 B
Bash
#!/bin/bash
|
|
|
|
# Only update permissions if permissions need to be updated
|
|
if [[ $(stat -c %U:%G /var/lib/elasticsearch/data) != "elasticsearch:elasticsearch" ]]; then
|
|
sudo chown elasticsearch: /var/lib/elasticsearch/data
|
|
fi
|