Revisions
-
arowla revised this gist
May 29, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,7 +12,7 @@ respawn limit 10 5 env ES_HOME=/usr/share/elasticsearch env ES_EBS_HOME=/home/fbopen/elasticsearch env ES_CLASSPATH="${ES_CLASSPATH}:${ES_HOME}/lib/elasticsearch-1.2.0.jar:${ES_HOME}/lib/*:${ES_HOME}/lib/sigar/*" env ES_MIN_MEM=256m env ES_MAX_MEM=2g env DATA_DIR="${ES_EBS_HOME}/data" -
arowla revised this gist
May 29, 2014 . 1 changed file with 7 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,12 +10,15 @@ stop on runlevel [016] respawn limit 10 5 env ES_HOME=/usr/share/elasticsearch env ES_EBS_HOME=/home/fbopen/elasticsearch env ES_CLASSPATH="${ES_CLASSPATH}:${ES_HOME}/lib/elasticsearch-1.2.0.jar:${ES_HOME}/lib/*:${ES_HOME}/lib/sigar/* env ES_MIN_MEM=256m env ES_MAX_MEM=2g env DATA_DIR="${ES_EBS_HOME}/data" env CONFIG_DIR="${ES_EBS_HOME}/conf" env LOG_DIR="${ES_EBS_HOME}/logs" console output -
rbscott revised this gist
Jul 31, 2011 . 1 changed file with 3 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description "ElasticSearch" start on (net-device-up and local-filesystems and runlevel [2345]) stop on runlevel [016] @@ -14,10 +14,8 @@ env ES_HOME=/usr/share/elasticsearch/home env ES_MIN_MEM=256m env ES_MAX_MEM=2g env DAEMON="${ES_HOME}/bin/elasticsearch" env DATA_DIR=/data/elasticsearch/data env CONFIG_DIR=/etc/elasticsearch console output @@ -26,6 +24,5 @@ script . /etc/default/elasticsearch fi su -s /bin/dash -c "/usr/bin/elasticsearch -f -Des.path.conf=$CONFIG_DIR -Des.path.home=$ES_HOME -Des.path.logs=$LOG_DIR -Des.path.data=$DATA_DIR -Des.path.work=$WORK_DIR" elasticsearch end script -
rbscott created this gist
Jul 31, 2011 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,31 @@ # ElasticSearch Service description "ElasticSearch" start on (net-device-up and local-filesystems and runlevel [2345]) stop on runlevel [016] respawn limit 10 5 env ES_HOME=/usr/share/elasticsearch/home env ES_MIN_MEM=256m env ES_MAX_MEM=2g env DAEMON="${ES_HOME}/bin/elasticsearch" env LOG_DIR=/var/log/elasticsearch env DATA_DIR=/data/elasticsearch/data env WORK_DIR=/tmp/elasticsearch env CONFIG_FILE=/etc/elasticsearch/elasticsearch.yml console output script if [ -f /etc/default/elasticsearch ]; then . /etc/default/elasticsearch fi su -s /bin/dash -c "/usr/bin/elasticsearch -f -p $PID_FILE -Des.config=$CONFIG_FILE -Des.path.home=$ES_HOME -Des.path.logs=$LOG_DIR -Des.path.data=$DATA_DIR -Des.path.work=$WORK_DIR" elasticsearch fi end script