summarylogtreecommitdiffstats
path: root/elasticsearch-keystore.service
blob: 8f52b898e03fa0c7481bfce6745db5a282899f00 (plain)
1
2
3
4
5
6
7
8
9
10
[Unit]
Description=Elasticsearch Keystore Generation
ConditionPathExists=|!/etc/elasticsearch/elasticsearch.keystore

[Service]
Type=oneshot
Group=elasticsearch
UMask=0007
ExecStart=/usr/share/elasticsearch/bin/elasticsearch-keystore create
RemainAfterExit=yes