Restart clvmd on update.

This commit is contained in:
Milan Broz 2012-03-28 13:49:23 +02:00
parent 3dc885281e
commit 7a0bc66b98

View File

@ -428,6 +428,10 @@ Extensions to LVM2 to support clusters.
%post cluster %post cluster
/sbin/chkconfig --add clvmd /sbin/chkconfig --add clvmd
if [ "$1" -gt "1" ] ; then
/usr/sbin/clvmd -S >/dev/null 2>&1 || :
fi
%preun cluster %preun cluster
if [ "$1" = 0 ]; then if [ "$1" = 0 ]; then
/sbin/chkconfig --del clvmd /sbin/chkconfig --del clvmd