mirror of https://github.com/ceph/ceph
12 lines
325 B
Desktop File
12 lines
325 B
Desktop File
[Unit]
|
|
Description=Ceph disk activation: %f
|
|
After=local-fs.target
|
|
Wants=local-fs.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
KillMode=none
|
|
Environment=CEPH_DISK_TIMEOUT=300
|
|
ExecStart=/bin/sh -c 'timeout $CEPH_DISK_TIMEOUT flock /var/lock/ceph-disk-$(basename %f) /usr/sbin/ceph-disk --verbose --log-stdout trigger --sync %f'
|
|
TimeoutSec=0
|