diff --git a/prometheus.service b/prometheus.service index 87b1c036d8762ece9080d2f814c0ef80a057051c..d62ecdb9782cff188a8af002909125855bcc3ffb 100644 --- a/prometheus.service +++ b/prometheus.service @@ -9,8 +9,8 @@ After=network.target EnvironmentFile=-/etc/default/prometheus User=prometheus ExecStart=/usr/bin/prometheus \ - --web.console.libraries=/usr/share/prometheus/console_libraries \ - --web.console.templates=/usr/share/prometheus/consoles \ + --web.console.libraries=/etc/prometheus/console_libraries \ + --web.console.templates=/etc/prometheus/consoles \ $PROMETHEUS_OPTS ExecReload=/bin/kill -HUP $MAINPID Restart=always diff --git a/prometheus2.spec b/prometheus2.spec index 5a9d1a9def44e34f77b4a3e89b8d66d0e4763064..b85f34b9dada8a29df43b23899db41b579b3ed63 100644 --- a/prometheus2.spec +++ b/prometheus2.spec @@ -2,7 +2,7 @@ Name: prometheus2 Version: 2.53.3 -Release: 2 +Release: 3 Summary: The Prometheus 2.x monitoring system and time series database. License: Apache-2.0 URL: https://prometheus.io @@ -98,6 +98,11 @@ exit 0 %dir %attr(755, prometheus, prometheus)%{_sharedstatedir}/prometheus %changelog +* Wed Jul 16 2025 YanZhicong - 2.53.3-3 +- Modify the console path that does not exist in the prometheus.service + * Change /usr/share/prometheus/console_libraries to /etc/prometheus/console_libraries + * Change /usr/share/prometheus/consoles to /etc/prometheus/consoles + * Wed Jul 02 2025 ZijianLi - 2.53.3-2 - Fix cgo enable on RISCV arch * set cgo enable on RISCV architecture