blob: 993bb01b60a878990772e19e1d913a3249f31a8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/sbin/runscript
extra_started_commands="reload"
bin=/usr/lib/ceph/ceph_init.sh
depend() {
after net
before netmount
}
start() {
ebegin "Initializing local Ceph node"
$bin "${CEPH_COMMON[@]}" "${CEPH_START[@]}"
eend 0
}
reload() {
ebegin "Reloading ceph configuration"
$bin "${CEPH_COMMON[@]}" "${CEPH_RELOAD[@]}"
eend 0
}
stop() {
ebegin "Stopping local Ceph node"
$bin "${CEPH_COMMON[@]}" "${CEPH_STOP[@]}"
eend 0
}
|