!13 change undelete rebuild flag file .NeedRebuild
Merge pull request !13 from huanghaitao/master
This commit is contained in:
commit
264a0b27ee
10
pcp.spec
10
pcp.spec
@ -9,7 +9,7 @@
|
|||||||
Name: pcp
|
Name: pcp
|
||||||
Version: 4.1.3
|
Version: 4.1.3
|
||||||
Summary: System-level performance monitoring and performance management
|
Summary: System-level performance monitoring and performance management
|
||||||
Release: 5
|
Release: 6
|
||||||
License: GPLv2+ and LGPLv2.1+ and CC-BY
|
License: GPLv2+ and LGPLv2.1+ and CC-BY
|
||||||
URL: https://pcp.io
|
URL: https://pcp.io
|
||||||
Source0: https://dl.bintray.com/pcp/source/pcp-4.1.3.tar.gz
|
Source0: https://dl.bintray.com/pcp/source/pcp-4.1.3.tar.gz
|
||||||
@ -1641,7 +1641,6 @@ systemctl stop pmie.service >/dev/null 2>&1
|
|||||||
systemctl stop pmproxy.service >/dev/null 2>&1
|
systemctl stop pmproxy.service >/dev/null 2>&1
|
||||||
systemctl stop pmcd.service >/dev/null 2>&1
|
systemctl stop pmcd.service >/dev/null 2>&1
|
||||||
PCP_PMNS_DIR=/var/lib/pcp/pmns
|
PCP_PMNS_DIR=/var/lib/pcp/pmns
|
||||||
rm -f "$PCP_PMNS_DIR/.NeedRebuild" >/dev/null 2>&1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%post webapi
|
%post webapi
|
||||||
@ -1755,7 +1754,7 @@ if [ $1 -eq 1 ] && [ -x /usr/bin/systemctl ] ; then
|
|||||||
/usr/bin/systemctl --no-reload preset pmie.service || :
|
/usr/bin/systemctl --no-reload preset pmie.service || :
|
||||||
fi
|
fi
|
||||||
systemctl condrestart pmproxy.service >/dev/null 2>&1
|
systemctl condrestart pmproxy.service >/dev/null 2>&1
|
||||||
cd $PCP_PMNS_DIR && ./Rebuild -s && rm -f .NeedRebuild
|
cd $PCP_PMNS_DIR && ./Rebuild -s
|
||||||
cd
|
cd
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%postun
|
%postun
|
||||||
@ -2213,7 +2212,10 @@ fi
|
|||||||
%config(noreplace) /etc/pcp/pmrep/*
|
%config(noreplace) /etc/pcp/pmrep/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Jun Jun 2020 panchenbo <panchenbo@uniontech.com> - 4.1.3-5
|
* Wed Jul 15 2020 huanghaitao <huanghaitao@huawei.com> - 4.1.3-6
|
||||||
|
- change undelete rebuild flag file .NeedRebuild
|
||||||
|
|
||||||
|
* Tue Jun 23 2020 panchenbo <panchenbo@uniontech.com> - 4.1.3-5
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID: NA
|
- ID: NA
|
||||||
- SUG: install
|
- SUG: install
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user