mirror of
https://github.com/ceph/ceph
synced 2025-01-03 17:42:36 +00:00
init.d: correcting rbdmap init order:
* Require "$remote_fs" since it guarantees /usr availability (rbd executable is in /usr/bin/rbd) * Speed-up init.d rbd mapping on machines acting as MON/OSD by starting rbdmap after /init.d/ceph (when possible) and shutting down rbd before ceph. * Map rbd devices before starting X (helpful when /home is mounted from rbd).
This commit is contained in:
parent
edb8a5965e
commit
1d42de5446
@ -7,8 +7,11 @@
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: rbdmap
|
||||
# Required-Start: $network
|
||||
# Required-Stop: $network
|
||||
# Required-Start: $network $remote_fs
|
||||
# Required-Stop: $network $remote_fs
|
||||
# Should-Start: ceph
|
||||
# Should-Stop: ceph
|
||||
# X-Start-Before: $x-display-manager
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Ceph RBD Mapping
|
||||
|
Loading…
Reference in New Issue
Block a user