summaryrefslogtreecommitdiff
path: root/community/elasticsearch/elasticsearch.service
blob: 4121332afa1a53ecb7be5f782ef7aa807e6b69c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[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 -d -p /run/elasticsearch/elasticsearch.pid
LimitNOFILE=65535
TimeoutStopSec=20
Restart=on-failure

[Install]
WantedBy=multi-user.target