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>
15 lines
320 B
Desktop File
15 lines
320 B
Desktop File
[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
|