Summary(pl.UTF-8): Nowa wersja Logical Volume Managera dla Linuksa
Name: lvm2
Version: 2.02.132
-Release: 1
+Release: 1.1
License: GPL v2 and LGPL v2.1
Group: Applications/System
Source0: ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz
rm -rf $RPM_BUILD_ROOT
%post
+/sbin/chkconfig --add lvm2-lvmetad
+%service lvm2-lvmetad restart
/sbin/chkconfig --add lvm2-monitor
%service lvm2-monitor restart
+/sbin/chkconfig --add lvm2-lvmpolld
+%service lvm2-lvmpolld restart
+# no service restart available
/sbin/chkconfig --add blk-availability
-# no service blk-availability restart
%postun
if [ "$1" = "0" ]; then
+ %service lvm2-lvmetad stop
+ /sbin/chkconfig --del lvm2-lvmetad
+ %service lvm2-lvmpolld stop
+ /sbin/chkconfig --del lvm2-lvmpolld
%service lvm2-monitor stop
/sbin/chkconfig --del lvm2-monitor
- #no service blk-availability stop
/sbin/chkconfig --del blk-availability
fi