diff options
author | Eric Liu | 2019-03-26 21:13:10 -0400 |
---|---|---|
committer | Eric Liu | 2019-03-26 21:13:10 -0400 |
commit | a8872da7c4c8b703ef50cddab223f94fdef04f65 (patch) | |
tree | f9bd00b27ab088960bb310d7e80c9c5d816caf43 /elasticsearch-keystore@.service | |
download | aur-a8872da7c4c8b703ef50cddab223f94fdef04f65.tar.gz |
initial commit for ELK with xpack
Diffstat (limited to 'elasticsearch-keystore@.service')
-rw-r--r-- | elasticsearch-keystore@.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/elasticsearch-keystore@.service b/elasticsearch-keystore@.service new file mode 100644 index 000000000000..039e2123f4ca --- /dev/null +++ b/elasticsearch-keystore@.service @@ -0,0 +1,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 |