From a829aaaa4faa319b8299048414671839e547e898 Mon Sep 17 00:00:00 2001 From: w00850572 Date: Wed, 6 Sep 2023 14:32:45 +0800 Subject: [PATCH] enable haveged.service --- haveged.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/haveged.spec b/haveged.spec index b19c25c..980af7c 100644 --- a/haveged.spec +++ b/haveged.spec @@ -3,7 +3,7 @@ Summary: A Linux entropy source using the HAVEGE algorithm Name: haveged Version: 1.9.18 -Release: 1 +Release: 2 License: GPLv3+ URL: https://github.com/jirka-h/haveged Source0: https://github.com/jirka-h/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz @@ -74,6 +74,8 @@ rm -rf %{buildroot} %post /sbin/ldconfig %systemd_post haveged.service +/bin/systemctl enable haveged +/bin/systemctl start haveged %preun %systemd_preun haveged.service @@ -102,6 +104,9 @@ rm -rf %{buildroot} %{_mandir}/man3/libhavege.3* %changelog +* Wed Sep 6 2023 wangqingsan - 1.9.18-2 +- enable haveged.service + * Mon Jul 4 2022 panxiaohe - 1.9.18-1 - update to 1.9.18