#!/usr/bin/env sh set -e sysctl -w vm.max_map_count=362144 chmod -R 777 $1/conf/elastic/elasticsearch/