From 7438f23564b11ee0976b9acb0b645e5b34313f7c Mon Sep 17 00:00:00 2001 From: yixiangzhike Date: Fri, 11 Sep 2020 16:37:38 +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..a41cd9e 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 +* Fri Sep 11 2020 zhangxingliang - 1.9.13-3 +- solve startup failure + * Thu Aug 13 2020 Anakin Zhang - 1.9.13-2 - remove libhavege.so.1*