mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
upstart: make starter jobs consistent
Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
e597482f29
commit
96f40b146b
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user