mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
Remove pidfile and asok after stopping ceph
Signed-off-by: Dongmao Zhang <deanraccoon@gmail.com>
This commit is contained in:
parent
c5d272c9f2
commit
24eb564768
@ -409,6 +409,8 @@ for name in $what; do
|
||||
get_conf post_stop "" "post stop command"
|
||||
[ -n "$pre_stop" ] && do_cmd "$pre_stop"
|
||||
stop_daemon $name ceph-$type $pid_file
|
||||
[ -n "$pidfile" ] && rm -f $pidfile
|
||||
[ -n "$asok" ] && rm -f $asok
|
||||
[ -n "$post_stop" ] && do_cmd "$post_stop"
|
||||
[ -n "$lockfile" ] && [ "$?" -eq 0 ] && rm -f $lockfile
|
||||
if [ $dofsumount -eq 1 ] && [ -n "$fs_devs" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user