enable haveged.service

This commit is contained in:
w00850572 2023-09-06 14:08:02 +08:00
parent db03b541bb
commit a9c01e31aa

View File

@ -3,7 +3,7 @@
Summary: A Linux entropy source using the HAVEGE algorithm
Name: haveged
Version: 1.9.15
Release: 2
Release: 3
License: GPLv3+
URL: https://github.com/jirka-h/haveged
Source0: https://github.com/jirka-h/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
@ -78,6 +78,8 @@ rm -rf %{buildroot}
%post
/sbin/ldconfig
%systemd_post haveged.service
/bin/systemctl enable haveged
/bin/systemctl start haveged
%preun
%systemd_preun haveged.service
@ -106,6 +108,9 @@ rm -rf %{buildroot}
%{_mandir}/man3/libhavege.3*
%changelog
* Wed Sep 6 2023 wangqingsan <wangqingsan@huawei.com> - 1.9.15-3
- enable haveged.service
* Sat Dec 17 2022 gaoyusong <gaoyusong2@huawei.com> - 1.9.15-2
- update man page and README.md