11
0
2024-08-19 21:45:22 +00:00
committed by Git OBS Bridge
3 changed files with 14 additions and 6 deletions

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Aug 12 10:55:00 UTC 2024 - Witek Bedyk <witold.bedyk@suse.com>
- Drop EnvironmentFile from the service definition
- Explicitly unset $ARGS environment variable. Setting environment
variables should be done in drop-in systemd configuration files.
-------------------------------------------------------------------
Thu Aug 8 10:25:11 UTC 2024 - Witek Bedyk <witold.bedyk@suse.com>
- Drop go_nostrip macro. It is not needed with current binutils and
Go.
-------------------------------------------------------------------
Mon Jul 8 07:30:16 UTC 2024 - Witek Bedyk <witold.bedyk@suse.com>

View File

@@ -25,11 +25,6 @@
%endif
# Fix ERROR: No build ID note found in
%undefine _missing_build_ids_terminate_build
%{go_nostrip}
%endif
%if 0%{?sle_version} == 150300 && !0%{?is_opensuse}
%{go_nostrip}
%endif
%if 0%{?suse_version}

View File

@@ -5,7 +5,7 @@ Documentation=https://github.com/lusitaniae/apache_exporter
[Service]
Restart=always
User=prometheus
EnvironmentFile=-/etc/sysconfig/prometheus-apache_exporter
Environment=ARGS=
ExecStart=/usr/bin/prometheus-apache_exporter $ARGS
ExecReload=/bin/kill -HUP $MAINPID
TimeoutStopSec=20s