ceph-exporter: fix systemd unit

change systemd unit into templated unit, that the %i which is used
inside the unit is working

Signed-off-by: Henry Hirsch <henry.hirsch@1und1.de>
This commit is contained in:
Henry Hirsch 2026-03-03 09:04:54 +01:00 committed by Kefu Chai
parent 2f20123931
commit dfe79180a7
3 changed files with 2 additions and 2 deletions

View File

@ -2154,7 +2154,7 @@ fi
%files -n ceph-exporter
%{_bindir}/ceph-exporter
%{_unitdir}/ceph-exporter.service
%{_unitdir}/ceph-exporter@.service
%files -n rbd-fuse
%{_bindir}/rbd-fuse

View File

@ -14,7 +14,7 @@ set(CEPH_SYSTEMD_ENV_DIR "/etc/sysconfig"
set(SYSTEMD_ENV_FILE "${CEPH_SYSTEMD_ENV_DIR}/ceph")
foreach(service
ceph-crash
ceph-exporter
ceph-exporter@
ceph-fuse@
ceph-mds@
ceph-mgr@