[cronie/f15] make crond run a little bit later in the boot process (#747759)

Tomáš Mráz tmraz at fedoraproject.org
Tue Oct 25 20:35:05 UTC 2011


commit 535ffc075e8c7edd3a1e92581269c6a0ae579700
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date:   Tue Oct 25 22:35:01 2011 +0200

    make crond run a little bit later in the boot process (#747759)

 .gitignore     |    1 -
 cronie.spec    |    5 ++++-
 cronie.systemd |   11 +++++++++++
 sources        |    1 -
 4 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 460461f..3923656 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,2 @@
-cronie.systemd
 cronie-1.4.7.tar.gz
 cronie-1.4.8.tar.gz
diff --git a/cronie.spec b/cronie.spec
index 3cd6e42..0f09919 100644
--- a/cronie.spec
+++ b/cronie.spec
@@ -7,7 +7,7 @@
 Summary:   Cron daemon for executing programs at set times
 Name:      cronie
 Version:   1.4.8
-Release:   3%{?dist}
+Release:   4%{?dist}
 License:   MIT and BSD and ISC and GPLv2
 Group:     System Environment/Base
 URL:       https://fedorahosted.org/cronie
@@ -246,6 +246,9 @@ service crond condrestart > /dev/null 2>&1 ||:
 %attr(0644,root,root) %{_sysconfdir}/cron.d/dailyjobs
 
 %changelog
+* Tue Oct 25 2011 Tomáš Mráz <tmraz at redhat.com> - 1.4.8-4
+- make crond run a little bit later in the boot process (#747759)
+
 * Mon Oct 17 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1.4.8-3
 - change triggerun to fix 735802 during upgrade
 
diff --git a/cronie.systemd b/cronie.systemd
new file mode 100644
index 0000000..a389a94
--- /dev/null
+++ b/cronie.systemd
@@ -0,0 +1,11 @@
+[Unit]
+Description=Command Scheduler
+After=syslog.target network.target sssd.service ypbind.service
+
+[Service]
+EnvironmentFile=/etc/sysconfig/crond
+ExecStart=/usr/sbin/crond -n $CRONDARGS
+
+[Install]
+WantedBy=multi-user.target
+
diff --git a/sources b/sources
index 0f6ef85..2b830f2 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-01014d53a9ede7c45f2419dc023cc372  cronie.systemd
 9b1d2ce6db8d1883e06635f437170657  cronie-1.4.8.tar.gz


More information about the scm-commits mailing list