mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
system/elasticsearch: Updated for version 1.4.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
c1c06c5acb
commit
639b63f88c
3 changed files with 6 additions and 6 deletions
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=elasticsearch
|
PRGNAM=elasticsearch
|
||||||
VERSION=${VERSION:-0.90.10}
|
VERSION=${VERSION:-1.4.2}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ find -L . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a LICENSE* NOTICE* README* $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a LICENSE* NOTICE* README* $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="elasticsearch"
|
PRGNAM="elasticsearch"
|
||||||
VERSION="0.90.10"
|
VERSION="1.4.2"
|
||||||
HOMEPAGE="http://www.elasticsearch.org"
|
HOMEPAGE="http://www.elasticsearch.org"
|
||||||
DOWNLOAD="https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.10.tar.gz"
|
DOWNLOAD="https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.4.2.tar.gz"
|
||||||
MD5SUM="a74bbc6f751ef891c0d3f408dad346cb"
|
MD5SUM="8766b54a2d9c5349acca19deb958c192"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="jdk"
|
REQUIRES="jdk"
|
||||||
|
|
|
@ -26,7 +26,7 @@ CONF_FILE=$CONF_DIR/elasticsearch.yml
|
||||||
PID_FILE=/var/run/$NAME.pid
|
PID_FILE=/var/run/$NAME.pid
|
||||||
DAEMON=$ES_HOME/bin/$NAME
|
DAEMON=$ES_HOME/bin/$NAME
|
||||||
MAX_OPEN_FILES=65535
|
MAX_OPEN_FILES=65535
|
||||||
DAEMON_OPTS="-p $PID_FILE -Des.default.config=$CONF_FILE -Des.default.path.home=$ES_HOME -Des.default.path.logs=$LOG_DIR -Des.default.path.data=$DATA_DIR -Des.default.path.work=$WORK_DIR -Des.default.path.conf=$CONF_DIR"
|
DAEMON_OPTS="-d -p $PID_FILE --default.config=$CONF_FILE --default.path.home=$ES_HOME --default.path.logs=$LOG_DIR --default.path.data=$DATA_DIR --default.path.work=$WORK_DIR --default.path.conf=$CONF_DIR"
|
||||||
|
|
||||||
# overwrite settings from default file
|
# overwrite settings from default file
|
||||||
if [ -f "$DEFAULT" ]; then
|
if [ -f "$DEFAULT" ]; then
|
||||||
|
|
Loading…
Reference in a new issue