Restart clvmd on update.
This commit is contained in:
parent
3dc885281e
commit
7a0bc66b98
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user