Line
Link Here
|
0 |
-- glusterd 2012-03-30 11:23:52.000000000 -0500 |
0 |
++ glusterd.new 2012-04-24 16:36:49.000000000 -0500 |
Lines 21-36
Link Here
|
21 |
stop() { |
21 |
stop() { |
22 |
ebegin "Stopping glusterd" |
22 |
ebegin "Stopping glusterd" |
23 |
start-stop-daemon --stop -q --pidfile "${PIDFILE}" |
23 |
start-stop-daemon --stop -q --pidfile "${PIDFILE}" |
24 |
eindent |
|
|
25 |
|
26 |
einfo "Unmounting GlusterFS filesystems" |
27 |
umount -t fuse.glusterfs -a |
28 |
|
29 |
einfo "Killing remaining GlusterFS processes" |
30 |
for PID in $(find /var/lib/glusterd/ -type f -name "*.pid" -exec cat {} \;); do |
31 |
kill "${PID}" |
32 |
done |
33 |
|
34 |
eoutdent |
35 |
eend $? |
24 |
eend $? |
36 |
} |
25 |
} |