Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / systemd / ceph-disk@.service
1 [Unit]
2 Description=Ceph disk activation: %f
3 After=local-fs.target
4 Wants=local-fs.target
5
6 [Service]
7 Type=oneshot
8 KillMode=none
9 Environment=CEPH_DISK_TIMEOUT=10000
10 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'
11 TimeoutSec=0