diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-05-02 14:13:35 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-05-02 14:13:35 +0100 |
commit | 7c7c2c9727d6b2ff30945b5aea0d575e1c406d8b (patch) | |
tree | bac2a67fb24ac0836147fe370d30e1610ae1845d /www-apps/kibana-bin/files | |
parent | 2f8db31405fac68eea6f7257d58529243815033b (diff) |
gentoo resync : 02.05.2018
Diffstat (limited to 'www-apps/kibana-bin/files')
-rw-r--r-- | www-apps/kibana-bin/files/kibana.service | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/www-apps/kibana-bin/files/kibana.service b/www-apps/kibana-bin/files/kibana.service new file mode 100644 index 000000000000..9e2840d3862e --- /dev/null +++ b/www-apps/kibana-bin/files/kibana.service @@ -0,0 +1,22 @@ +[Unit] +Description=Kibana Web Application +After=network.target + +[Service] +Environment=BABEL_CACHE_PATH=%C/kibana/.babelcache.json + +WorkingDirectory=/opt/kibana +StateDirectory=kibana +StateDirectoryMode=0750 +CacheDirectory=kibana +CacheDirectoryMode=0750 + +User=kibana +Group=kibana + +# DATA_DIR should be set in config (path.data directive) +# But to comply with OpenRC script, preserve this +ExecStart=/opt/kibana/bin/kibana --config /etc/kibana/kibana.yml --path.data=%S/kibana + +[Install] +WantedBy=multi-user.target |