Commit bbde51d8 authored by ale's avatar ale

Use the C locale so the curator can run\n\nSee https://github.com/elastic/curator/issues/1243\n

parent 61de1659
Pipeline #4706 passed with stages
in 6 minutes and 32 seconds
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
test -x /usr/bin/curator || exit 0 test -x /usr/bin/curator || exit 0
# If you don't set a locale, curator doesn't run. # If you don't set a locale, curator doesn't run.
export LC_ALL=en_US.UTF-8 export LC_ALL=C.UTF-8 LANG=C.UTF-8
find /etc/elasticsearch/actions -type f -name 'maint_*.yml' \ find /etc/elasticsearch/actions -type f -name 'maint_*.yml' \
| xargs -n 1 curator --config=/etc/elasticsearch/curator.yml | xargs -n 1 curator --config=/etc/elasticsearch/curator.yml
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment