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

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