add smarter logic for restarting glusterd in %post server

This commit is contained in:
Kaleb S. KEITHLEY 2014-09-25 11:29:18 -04:00
parent 45b19d1ab0
commit 46e49863dc

View File

@ -786,6 +786,9 @@ if [ $? -eq 0 ]; then
killall --wait glusterd &> /dev/null
glusterd --xlator-option *.upgrade=on -N
# glusterd _was_ running, we killed it, it exited after *.upgrade=on,
# so start it again
%_init_start glusterd
else
glusterd --xlator-option *.upgrade=on -N
fi
@ -1036,6 +1039,7 @@ fi
%changelog
* Thu Sep 25 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
- add psmisc for -server
- add smarter logic to restart glusterd in %post server
* Thu Sep 25 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
- glusterfs-3.6.0beta2.tar.gz