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: 68c72c5dff5 ("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>
ceph-osd@
ceph-radosgw@
ceph-rbd-mirror@
+ ceph-volume@
ceph-immutable-object-cache@
cephfs-mirror@
rbdmap)
ceph-radosgw.target
ceph-rbd-mirror.target
ceph-immutable-object-cache.target
- ceph-volume@.service
cephfs-mirror.target
DESTINATION ${SYSTEMD_SYSTEM_UNIT_DIR})
+++ /dev/null
-[Unit]
-Description=Ceph Volume activation: %i
-After=local-fs.target
-Wants=local-fs.target
-
-[Service]
-Type=oneshot
-KillMode=none
-Environment=CEPH_VOLUME_TIMEOUT=10000
-ExecStart=/bin/sh -c 'timeout $CEPH_VOLUME_TIMEOUT @CMAKE_INSTALL_PREFIX@/sbin/ceph-volume-systemd %i'
-TimeoutSec=0
-
-[Install]
-WantedBy=multi-user.target
--- /dev/null
+[Unit]
+Description=Ceph Volume activation: %i
+After=local-fs.target
+Wants=local-fs.target
+
+[Service]
+Type=oneshot
+KillMode=none
+Environment=CEPH_VOLUME_TIMEOUT=10000
+ExecStart=/bin/sh -c 'timeout $CEPH_VOLUME_TIMEOUT @CMAKE_INSTALL_PREFIX@/sbin/ceph-volume-systemd %i'
+TimeoutSec=0
+
+[Install]
+WantedBy=multi-user.target