mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-09 22:54:10 +02:00
This was weird solution, with nothing to gain from inline patch in the ebuild. No variable substitution, no conditional, nothing. It was even the same file across versions. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
22 lines
982 B
Diff
22 lines
982 B
Diff
--- a/contrib/systemd/system/prometheus-podman-exporter.service
|
|
+++ b/contrib/systemd/system/prometheus-podman-exporter.service
|
|
@@ -2,7 +2,7 @@
|
|
Description=Prometheus exporter for podman (v4) machine
|
|
[Service]
|
|
Restart=on-failure
|
|
-EnvironmentFile=-/etc/sysconfig/prometheus-podman-exporter
|
|
+EnvironmentFile=-/etc/default/prometheus-podman-exporter
|
|
ExecStart=/usr/bin/prometheus-podman-exporter $PODMAN_EXPORTER_OPTS
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
TimeoutStopSec=20s
|
|
--- a/contrib/systemd/user/prometheus-podman-exporter.service
|
|
+++ b/contrib/systemd/user/prometheus-podman-exporter.service
|
|
@@ -2,7 +2,7 @@
|
|
Description=Prometheus exporter for podman (v4) machine
|
|
[Service]
|
|
Restart=on-failure
|
|
-EnvironmentFile=-/etc/sysconfig/prometheus-podman-exporter
|
|
+EnvironmentFile=-/etc/default/prometheus-podman-exporter
|
|
EnvironmentFile=-%h/.config/prometheus-podman-exporter
|
|
ExecStart=/usr/bin/prometheus-podman-exporter $PODMAN_EXPORTER_OPTS
|
|
ExecReload=/bin/kill -HUP $MAINPID
|