update service

This commit is contained in:
guoxiaoqi 2020-01-07 20:02:23 +08:00
parent c4004681ad
commit 2b33c81433
2 changed files with 7 additions and 8 deletions

View File

@ -1,13 +1,9 @@
[Unit]
Description=Entropy Daemon based on the HAVEGE algorithm
Documentation=man:haveged(8) http://www.issihosts.com/haveged/
[Service] [Service]
Environment=PARAMETER=-w 1024 -v 1 --Foreground
ExecStart=/usr/sbin/haveged ${PARAMETER}
Type=simple Type=simple
ExecStart=/usr/sbin/haveged -w 1024 -v 1 --Foreground SuccessExitStatus=137 143
SuccessExitStatus=143
Restart=always Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -3,7 +3,7 @@
Summary: A Linux entropy source using the HAVEGE algorithm Summary: A Linux entropy source using the HAVEGE algorithm
Name: haveged Name: haveged
Version: 1.9.8 Version: 1.9.8
Release: 1 Release: 2
License: GPLv3+ License: GPLv3+
URL: https://github.com/jirka-h/haveged URL: https://github.com/jirka-h/haveged
Source0: https://github.com/jirka-h/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz 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* %{_mandir}/man3/libhavege.3*
%changelog %changelog
* Tue Jan 7 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.9.8-2
- update service
* Mon Oct 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.9.8-1 * Mon Oct 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.9.8-1
- update to 1.9.8-1 - update to 1.9.8-1