summaryrefslogtreecommitdiff
path: root/community/elasticsearch/elasticsearch.service
blob: 28364b878cade6b2df7ea6c351bc40eaea8c3cac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=ElasticSearch
After=network.target

[Service]
User=elasticsearch
Type=forking
PIDFile=/run/elasticsearch/elasticsearch.pid
ExecStart=/usr/bin/elasticsearch -p /run/elasticsearch/elasticsearch.pid
Restart=on-failure

[Install]
WantedBy=multi-user.target