summaryrefslogtreecommitdiff
path: root/community/elasticsearch/elasticsearch.service
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-14 03:37:58 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-14 03:37:58 +0000
commit86a5624291a8a72d9a0a2c51fcc64bf6e221524b (patch)
treee585f1910631fdca9c14bc3127c269c8005c838e /community/elasticsearch/elasticsearch.service
parentb6ad8075baf858359209aa7f1af82a143dcc0c80 (diff)
Fri Feb 14 03:35:43 UTC 2014
Diffstat (limited to 'community/elasticsearch/elasticsearch.service')
-rw-r--r--community/elasticsearch/elasticsearch.service5
1 files changed, 4 insertions, 1 deletions
diff --git a/community/elasticsearch/elasticsearch.service b/community/elasticsearch/elasticsearch.service
index 28364b878..4121332af 100644
--- a/community/elasticsearch/elasticsearch.service
+++ b/community/elasticsearch/elasticsearch.service
@@ -1,12 +1,15 @@
[Unit]
Description=ElasticSearch
+Documentation=http://www.elasticsearch.org
After=network.target
[Service]
User=elasticsearch
Type=forking
PIDFile=/run/elasticsearch/elasticsearch.pid
-ExecStart=/usr/bin/elasticsearch -p /run/elasticsearch/elasticsearch.pid
+ExecStart=/usr/bin/elasticsearch -d -p /run/elasticsearch/elasticsearch.pid
+LimitNOFILE=65535
+TimeoutStopSec=20
Restart=on-failure
[Install]