elasticsearch/curator/entrypoint.sh

12 lines
286 B
Bash
Executable File

#!/bin/sh
#shopt -s nullglob
FILES=/usr/share/curator/config/action_*
for f in $FILES
do
echo "$CRON /usr/bin/curator --config /usr/share/curator/config/curator.yml $f" >> /etc/crontab
done
# https://github.com/krallin/tini/blob/master/README.md#subreaping
tini -s -- cron -f -L 8