ceph-mirror/systemd/ceph-crash.service.in
steven 68c72c5dff systemd: use CMake install prefix in templates
The current systemd services use hard coded paths.
This commit uses CMake install prefix in the templates to
setup paths to executables where they are actually installed.

Signed-off-by: steven <steven.chien@ed.ac.uk>
2024-10-31 17:20:22 +00:00

14 lines
221 B
SYSTEMD

[Unit]
Description=Ceph crash dump collector
[Service]
Type=simple
ExecStart=@CMAKE_INSTALL_PREFIX@/bin/ceph-crash
Restart=always
RestartSec=10
StartLimitInterval=10min
StartLimitBurst=10
[Install]
WantedBy=ceph.target