summarylogtreecommitdiffstats
path: root/prometheus-sphinx-exporter@.service
diff options
context:
space:
mode:
Diffstat (limited to 'prometheus-sphinx-exporter@.service')
-rw-r--r--prometheus-sphinx-exporter@.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/prometheus-sphinx-exporter@.service b/prometheus-sphinx-exporter@.service
new file mode 100644
index 000000000000..e82d9e0f4084
--- /dev/null
+++ b/prometheus-sphinx-exporter@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Prometheus exporter for Sphinx
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/prometheus_sphinx_exporter --sphinx.address="%i"
+User=nobody
+
+[Install]
+WantedBy=multi-user.target