diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-09-13 08:01:58 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-09-13 12:08:39 +0000 |
commit | c0a7b7fae67a3a1be82e7fd2544e6aba432e3ed4 (patch) | |
tree | 8ab4c78b574c389d9b4c87e90c7c46f563566717 /community/elasticsearch/elasticsearch.initd | |
parent | 20f73acc9e5a949ed1a364d2fd69786313d1456e (diff) | |
download | aports-c0a7b7fae67a3a1be82e7fd2544e6aba432e3ed4.tar.bz2 aports-c0a7b7fae67a3a1be82e7fd2544e6aba432e3ed4.tar.xz |
community/elasticsearch: upgrade to 6.4.0
- Fix install of subdirectories
- Fix config file permissions
- Make startup script compatible with busybox
- Fix initd statup options for v6.4, adjust depends
- Modernize APKBUILD
Diffstat (limited to 'community/elasticsearch/elasticsearch.initd')
-rw-r--r-- | community/elasticsearch/elasticsearch.initd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/community/elasticsearch/elasticsearch.initd b/community/elasticsearch/elasticsearch.initd index 660c822437..ff40813ad1 100644 --- a/community/elasticsearch/elasticsearch.initd +++ b/community/elasticsearch/elasticsearch.initd @@ -22,7 +22,6 @@ name="Elasticsearch" : ${create_logs_dir:="yes"} elastic_opts=" - -Epath.conf=$conf_dir -Epath.data=$default_data_dir -Epath.logs=$default_logs_dir $elastic_opts @@ -40,6 +39,7 @@ java_opts=" # export ES_DIRECT_SIZE= export ES_JAVA_OPTS="$java_opts" export ES_JVM_OPTIONS="$conf_dir/jvm.options" +export ES_PATH_CONF="$conf_dir" nice="0" pidfile="/run/$SVCNAME.sd.pid" @@ -49,6 +49,7 @@ command_args="$elastic_opts 1>/dev/null 2>>$default_logs_dir/error.log" depends() { use net + after firewall } in_contr() { |