From e32c666d501386751f899067c7ff3ded2c7ccd91 Mon Sep 17 00:00:00 2001 From: w00850572 Date: Wed, 6 Sep 2023 14:19:52 +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 8823c08..0f94a9a 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.13 -Release: 4 +Release: 5 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.13-5 +- enable haveged.service + * Tue May 25 2021 yixiangzhike - 1.9.13-4 - add gcc to BuildRequires