]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph-disk: command invocation needs all fields separate
authorWillem Jan Withagen <wjw@digiware.nl>
Fri, 16 Jun 2017 15:59:12 +0000 (17:59 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Tue, 20 Jun 2017 13:13:06 +0000 (15:13 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/ceph-disk/ceph_disk/main.py

index de036cd0320137438275923d760962ff874cb795..414a63301d3b2ba96ea7b1cc9ad41d75d028537c 100755 (executable)
@@ -3288,8 +3288,8 @@ def start_daemon(
         elif os.path.exists(os.path.join(path, 'bsdrc')):
             command_check_call(
                 [
-                    '/usr/local/etc/rc.d/ceph start osd.{osd_id}'
-                    .format(osd_id=osd_id),
+                    '/usr/sbin/service', 'ceph', 'start',
+                    'osd.{osd_id}'.format(osd_id=osd_id),
                 ],
             )
         else: