upstart: make starter jobs consistent

Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
Sage Weil 2012-12-14 13:40:58 -08:00
parent e597482f29
commit 96f40b146b
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,4 @@
description "Ceph MDS (task to start all instances)"
description "Ceph MDS (start all instances)"
start on starting ceph-mds-all
stop on runlevel [!2345] or stopping ceph-mds-all

View File

@ -13,7 +13,6 @@ script
if [ -e "/var/lib/ceph/osd/$f/ready" ] && [ -e "/var/lib/ceph/osd/$f/upstart" ]; then
cluster="${f%%-*}"
id="${f#*-}"
initctl emit ceph-osd cluster="$cluster" id="$id"
fi
done