systemd services: fix installing ceph-volume@

The ceph-volume@ service uses the @CMAKE_INSTALL_PREFIX@, so we cannot
just install it directly like the target units, but need to process it
like all other units that are referring to actual executables that
reside in build-target dependent paths.

Fixes: 68c72c5dff ("systemd: use CMake install prefix in templates")
Reported-by: Daniel Herzig <d.herzig@proxmox.com>
Reported-by: Aaron Lauterer <a.lauterer@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2025-12-17 17:28:11 +01:00 committed by Kefu Chai
parent e521913fb6
commit 2fce003f8d
2 changed files with 1 additions and 1 deletions

View File

@ -22,6 +22,7 @@ foreach(service
ceph-osd@
ceph-radosgw@
ceph-rbd-mirror@
ceph-volume@
ceph-immutable-object-cache@
cephfs-mirror@
rbdmap)
@ -44,6 +45,5 @@ install(FILES
ceph-radosgw.target
ceph-rbd-mirror.target
ceph-immutable-object-cache.target
ceph-volume@.service
cephfs-mirror.target
DESTINATION ${SYSTEMD_SYSTEM_UNIT_DIR})