From cf87ee8d6fbdac17fe5aa7bb7ff82184a74d6984 Mon Sep 17 00:00:00 2001
From: pwalczysko
Date: Wed, 17 Jan 2024 20:08:23 +0000
Subject: [PATCH] Fix the path in the debian j2 file
---
templates/systemd-prometheus-omero-exporter-service-debian.j2 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/systemd-prometheus-omero-exporter-service-debian.j2 b/templates/systemd-prometheus-omero-exporter-service-debian.j2
index 4ea596a..edefc9f 100644
--- a/templates/systemd-prometheus-omero-exporter-service-debian.j2
+++ b/templates/systemd-prometheus-omero-exporter-service-debian.j2
@@ -3,7 +3,7 @@ Description=prometheus-omero-exporter
[Service]
User={{ omero_prometheus_exporter_system_user }}
-EnvironmentFile=-/etc/sysconfig/prometheus-omero-exporter
+EnvironmentFile=-/etc/prometheus-omero-exporter
ExecStart=/opt/prometheus-omero-tools/venv3/bin/omero-prometheus-tools.py $OPTIONS
RestartSec=10
Restart=on-failure