diff options
Diffstat (limited to 'community/elasticsearch/elasticsearch.service')
-rw-r--r-- | community/elasticsearch/elasticsearch.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/elasticsearch/elasticsearch.service b/community/elasticsearch/elasticsearch.service new file mode 100644 index 000000000..28364b878 --- /dev/null +++ b/community/elasticsearch/elasticsearch.service @@ -0,0 +1,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 |