From 56e920523cf0f39f6ad7bb9a89c5cecc0955fd87 Mon Sep 17 00:00:00 2001 From: yixiangzhike Date: Thu, 26 Nov 2020 19:25:50 +0800 Subject: [PATCH] solve startup failure --- haveged.service | 3 +-- haveged.spec | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/haveged.service b/haveged.service index 6d5e297..a80a979 100644 --- a/haveged.service +++ b/haveged.service @@ -1,6 +1,5 @@ [Service] -Environment=PARAMETER=-w 1024 -v 1 --Foreground -ExecStart=/usr/sbin/haveged ${PARAMETER} +ExecStart=/usr/sbin/haveged -w 1024 -v 1 --Foreground Type=simple SuccessExitStatus=137 143 Restart=always diff --git a/haveged.spec b/haveged.spec index c343730..684d94e 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: 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 @@ -101,6 +101,9 @@ rm -rf %{buildroot} %{_mandir}/man3/libhavege.3* %changelog +* Thu Nov 26 2020 yixiangzhike - 1.9.13-3 +- solve startup failure + * Thu Aug 13 2020 Anakin Zhang - 1.9.13-2 - remove libhavege.so.1*