summaryrefslogtreecommitdiffstats
path: root/extra/es-public-proxy.service
diff options
context:
space:
mode:
Diffstat (limited to 'extra/es-public-proxy.service')
-rw-r--r--extra/es-public-proxy.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/es-public-proxy.service b/extra/es-public-proxy.service
new file mode 100644
index 0000000..256212f
--- /dev/null
+++ b/extra/es-public-proxy.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Public-facing Elasticsearch Proxy
+After=network.target
+
+[Service]
+Environment="RUST_LOG=es_public_proxy=warn"
+ExecStart=/usr/bin/es-public-proxy --config /etc/es-public-proxy.toml
+User=nobody
+Type=simple
+
+[Install]
+WantedBy=multi-user.target