Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Package information
PACKAGE_NAME = prometheus-cvmfs-exporter
VERSION = 1.0.0
RELEASE = 1
RELEASE = 2

# Installation paths
PREFIX = /usr
Expand Down Expand Up @@ -137,7 +137,7 @@ docker-rpm:
docker run --rm -it \
-v $(PWD):/src \
-w /src \
docker.io/almalinux:9 \
almalinux:9 \
bash -c 'set -e; \
dnf install -y rpm-build rpmdevtools make; \
make rpm'
Expand Down
5 changes: 2 additions & 3 deletions prometheus-cvmfs-exporter.spec
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,12 @@ make install-systemd DESTDIR=%{buildroot}
rm -f %{buildroot}%{_docdir}/%{name}/LICENSE

%post
%systemd_post [email protected]
%systemd_post cvmfs-client-prometheus.socket

%preun
%systemd_preun [email protected]
%systemd_preun cvmfs-client-prometheus.socket

%postun
%systemd_postun_with_restart [email protected]
%systemd_postun_with_restart cvmfs-client-prometheus.socket

%files
Expand All @@ -70,5 +67,7 @@ rm -f %{buildroot}%{_docdir}/%{name}/LICENSE
%{_unitdir}/cvmfs-client-prometheus.socket

%changelog
* Fri Aug 15 2025 Valentin Volkl <[email protected]> - 1.0.0-2
- Only start/stop socket, not service
* Tue Aug 12 2025 Valentin Volkl <[email protected]> - 1.0.0-1
- Initial package release
Loading