From 1529bccd54c897c4fdc338a05a2a187468b5bf07 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Tue, 23 Aug 2022 07:52:33 +0200 Subject: [PATCH] Up to 1.6.1. Fix restart on pam failure. --- cronie.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cronie.spec b/cronie.spec index d6137df..8cf4f08 100644 --- a/cronie.spec +++ b/cronie.spec @@ -17,12 +17,12 @@ Summary: Cron daemon for executing programs at set times Summary(pl.UTF-8): Demon cron do uruchamiania programów o zadanym czasie Name: cronie -Version: 1.5.7 -Release: 7 +Version: 1.6.1 +Release: 1 License: MIT and BSD and GPL v2 Group: Daemons Source0: https://github.com/cronie-crond/cronie/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz -# Source0-md5: 544f141aa4e34e0a176529be08441756 +# Source0-md5: de07b7229520bc859d987c721bab87c5 Source1: %{name}.init Source3: cron.sysconfig Source4: %{name}.crontab @@ -174,7 +174,7 @@ if [ -x /bin/awk -a -x /bin/grep -a -f /var/log/cron ]; then LC_ALL=C /bin/awk -v d="$(LC_ALL=C date "+%b %e")" ' $1 " " $2 ~ d' /var/log/cron \ | /bin/grep -qE "PAM.*(Modu. jest nieznany|Module is unknown)" \ && echo "crond is failing on PAM, restarting ( https://github.com/cronie-crond/cronie/issues/87 )" >&2 \ - && /sbin/service crond condrestart + && /sbin/service crond try-restart fi exit 0 EOF -- 2.43.0