mirror of
https://github.com/ceph/ceph
synced 2026-08-01 22:45:39 +00:00
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>
14 lines
221 B
SYSTEMD
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
|