summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-misc/elasticsearch/files/elasticsearch.initd')
-rw-r--r--www-misc/elasticsearch/files/elasticsearch.initd9
1 files changed, 9 insertions, 0 deletions
diff --git a/www-misc/elasticsearch/files/elasticsearch.initd b/www-misc/elasticsearch/files/elasticsearch.initd
new file mode 100644
index 0000000..9c0c7ec
--- /dev/null
+++ b/www-misc/elasticsearch/files/elasticsearch.initd
@@ -0,0 +1,9 @@
+#!/sbin/runscript
+
+command="/usr/bin/elasticsearch"
+pidfile="/run/elasticsearch.pid"
+command_args="-d -p ${PIDFILE}"
+
+depend() {
+ need net
+}