From: Alfredo Deza Date: Thu, 20 Jul 2017 15:26:27 +0000 (-0400) Subject: systemd: create a service file for ceph-volume X-Git-Tag: ses5-milestone10~3^2~5^2~109 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d6954111dcadd66d31f659a934ba2d3d74e61eed;p=ceph.git systemd: create a service file for ceph-volume Signed-off-by: Alfredo Deza --- diff --git a/systemd/ceph-volume@.service b/systemd/ceph-volume@.service new file mode 100644 index 000000000000..c21002cecb93 --- /dev/null +++ b/systemd/ceph-volume@.service @@ -0,0 +1,14 @@ +[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 /usr/sbin/ceph-volume-systemd %i' +TimeoutSec=0 + +[Install] +WantedBy=multi-user.target