summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2015-12-16 19:21:43 +0800
committerIan Delaney <idella4@gentoo.org>2015-12-16 19:22:20 +0800
commit5f03e659c405fcd0baa49b780a71a711376bee7f (patch)
tree9ff7c04712280529dc7e02e2ea23df8b3550451e /app-misc
parentdev-java/jacl: Clean up old. (diff)
downloadgentoo-5f03e659c405fcd0baa49b780a71a711376bee7f.tar.gz
gentoo-5f03e659c405fcd0baa49b780a71a711376bee7f.tar.bz2
gentoo-5f03e659c405fcd0baa49b780a71a711376bee7f.zip
app-misc/elasticsearch: add the elasticsearch.init5 script to FILESDIR
Notes from the bug; ebuild based on the 2.0.0 ebuild by Julian Simioni updated SRC_URI, preferring Java 8 if not installed yet cleaned up src_prepare. updated initscript (added here) Gentoo bug: 564604 Package-Manager: portage-2.2.24
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/elasticsearch/files/elasticsearch.init511
1 files changed, 11 insertions, 0 deletions
diff --git a/app-misc/elasticsearch/files/elasticsearch.init5 b/app-misc/elasticsearch/files/elasticsearch.init5
new file mode 100644
index 000000000000..739c6f8888bf
--- /dev/null
+++ b/app-misc/elasticsearch/files/elasticsearch.init5
@@ -0,0 +1,11 @@
+[Unit]
+Description=Elasticsearch
+After=network.target
+
+[Service]
+User=elasticsearch
+Environment=ES_INCLUDE=/usr/share/elasticsearch/bin/elasticsearch.in.sh
+ExecStart=/usr/share/elasticsearch/bin/elasticsearch -Des.default.path.conf=/etc/elasticsearch
+
+[Install]
+WantedBy=multi-user.target