diff --git a/SOURCES/cronie-unitfile.patch b/SOURCES/cronie-unitfile.patch new file mode 100644 index 0000000..bd266ed --- /dev/null +++ b/SOURCES/cronie-unitfile.patch @@ -0,0 +1,16 @@ +diff -up cronie-1.4.11/contrib/cronie.systemd.old cronie-1.4.11/contrib/cronie.systemd +--- cronie-1.4.11/contrib/cronie.systemd.old 2014-01-27 14:31:47.696467385 +0100 ++++ cronie-1.4.11/contrib/cronie.systemd 2014-07-04 15:18:16.000000000 +0200 +@@ -1,10 +1,11 @@ + [Unit] + Description=Command Scheduler +-After=syslog.target auditd.service systemd-user-sessions.service time-sync.target ++After=auditd.service systemd-user-sessions.service time-sync.target + + [Service] + EnvironmentFile=/etc/sysconfig/crond + ExecStart=/usr/sbin/crond -n $CRONDARGS ++ExecReload=/bin/kill -HUP $MAINPID + KillMode=process + + [Install] diff --git a/SPECS/cronie.spec b/SPECS/cronie.spec index f882751..63af7f1 100644 --- a/SPECS/cronie.spec +++ b/SPECS/cronie.spec @@ -6,7 +6,7 @@ Summary: Cron daemon for executing programs at set times Name: cronie Version: 1.4.11 -Release: 11%{?dist} +Release: 13%{?dist} License: MIT and BSD and ISC and GPLv2+ Group: System Environment/Base URL: https://fedorahosted.org/cronie @@ -16,6 +16,7 @@ Patch1: cronie-1.4.11-fcntl_locking.patch Patch2: cronie-1.4.11-pamenv.patch Patch3: cronie-1.4.11-man-debug.patch Patch4: cronie-check-config-param.patch +Patch5: cronie-unitfile.patch Requires: dailyjobs @@ -85,6 +86,7 @@ extra features. %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %build %configure \ @@ -209,6 +211,14 @@ exit 0 %attr(0644,root,root) %{_sysconfdir}/cron.d/dailyjobs %changelog +* Mon Jul 7 2014 Marcela Mašláňová - 1.4.11-13 +- reload in unit file was still missing +- Related: rhbz#1114815 + +* Fri Jul 4 2014 Marcela Mašláňová - 1.4.11-12 +- reload in unit file was missing +- Resolves: rhbz#1114815 + * Mon Jan 27 2014 Marcela Mašláňová - 1.4.11-11 - now it's work even on ppc64, all checks working correctly - Related: rhbz#1031384