diff --git a/atop-2.3.0-restart.patch b/atop-2.3.0-restart.patch new file mode 100644 index 0000000..889c462 --- /dev/null +++ b/atop-2.3.0-restart.patch @@ -0,0 +1,6 @@ +--- atop.cronsystemd~ 2017-03-25 04:00:03.000000000 -0500 ++++ atop.cronsystemd 2017-12-11 12:05:26.269480824 -0600 +@@ -1,2 +1,2 @@ + # daily restart of atop at midnight +-0 0 * * * root systemctl restart atop ++0 0 * * * root systemctl try-restart atop diff --git a/atop.spec b/atop.spec index 40ad620..17a0df8 100644 --- a/atop.spec +++ b/atop.spec @@ -2,7 +2,7 @@ Name: atop Version: 2.3.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: An advanced interactive monitor to view the load on system and process level Group: Applications/System @@ -14,6 +14,7 @@ Source5: atop.d Patch0: nvme_support.patch Patch1: atop-sysconfig.patch +Patch2: atop-2.3.0-restart.patch BuildRequires: zlib-devel BuildRequires: ncurses-devel @@ -94,6 +95,9 @@ install -d $RPM_BUILD_ROOT%{_localstatedir}/log/atop %{_datadir}/atop/atop.daily %changelog +* Mon Dec 11 2017 Gwyn Ciesla - 2.3.0-7 +- try-restart in cron, not restart, BZ 1524436. + * Fri Dec 08 2017 Gwyn Ciesla - 2.3.0-6 - Drop obsolete README.fedora.