1 |
commit: 5f03e659c405fcd0baa49b780a71a711376bee7f |
2 |
Author: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 16 11:21:43 2015 +0000 |
4 |
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 16 11:22:20 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f03e659 |
7 |
|
8 |
app-misc/elasticsearch: add the elasticsearch.init5 script to FILESDIR |
9 |
|
10 |
Notes from the bug; |
11 |
ebuild based on the 2.0.0 ebuild by Julian Simioni |
12 |
updated SRC_URI, preferring Java 8 if not installed yet |
13 |
cleaned up src_prepare. |
14 |
updated initscript (added here) |
15 |
|
16 |
Gentoo bug: 564604 |
17 |
|
18 |
Package-Manager: portage-2.2.24 |
19 |
|
20 |
app-misc/elasticsearch/files/elasticsearch.init5 | 11 +++++++++++ |
21 |
1 file changed, 11 insertions(+) |
22 |
|
23 |
diff --git a/app-misc/elasticsearch/files/elasticsearch.init5 b/app-misc/elasticsearch/files/elasticsearch.init5 |
24 |
new file mode 100644 |
25 |
index 0000000..739c6f8 |
26 |
--- /dev/null |
27 |
+++ b/app-misc/elasticsearch/files/elasticsearch.init5 |
28 |
@@ -0,0 +1,11 @@ |
29 |
+[Unit] |
30 |
+Description=Elasticsearch |
31 |
+After=network.target |
32 |
+ |
33 |
+[Service] |
34 |
+User=elasticsearch |
35 |
+Environment=ES_INCLUDE=/usr/share/elasticsearch/bin/elasticsearch.in.sh |
36 |
+ExecStart=/usr/share/elasticsearch/bin/elasticsearch -Des.default.path.conf=/etc/elasticsearch |
37 |
+ |
38 |
+[Install] |
39 |
+WantedBy=multi-user.target |