ceph/systemd/CMakeLists.txt
Kefu Chai 50707e7d62 debian: install system units using cmake
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-28 00:23:22 +08:00

23 lines
563 B
CMake

set(CMAKE_INSTALL_SYSTEMD_SERVICEDIR "${CMAKE_INSTALL_LIBEXECDIR}/systemd/system"
CACHE PATH "Location for systemd service files")
install(FILES
ceph.target
ceph-fuse.target
ceph-osd.target
ceph-mgr.target
ceph-mon.target
ceph-mds.target
ceph-radosgw.target
ceph-rbd-mirror.target
ceph-fuse@.service
ceph-mds@.service
ceph-mgr@.service
ceph-mon@.service
ceph-osd@.service
ceph-radosgw@.service
ceph-rbd-mirror@.service
ceph-disk@.service
ceph-volume@.service
rbdmap.service
DESTINATION ${CMAKE_INSTALL_SYSTEMD_SERVICEDIR})