mirror of
https://github.com/ceph/ceph
synced 2024-12-30 07:23:11 +00:00
c8f7d44c93
The flock command may be installed elsewhere, depending on the system. Let the PATH search figure that out. http://tracker.ceph.com/issues/13975 Fixes: #13975 Signed-off-by: Loic Dachary <loic@dachary.org>
9 lines
205 B
Desktop File
9 lines
205 B
Desktop File
[Unit]
|
|
Description=Ceph disk activation: %f
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
KillMode=none
|
|
ExecStart=/bin/sh -c 'flock /var/lock/ceph-disk /usr/sbin/ceph-disk --verbose --log-stdout trigger --sync %f'
|
|
TimeoutSec=0
|