[cronie] start crond after auditd

Tomáš Mráz tmraz at fedoraproject.org
Wed Jun 29 14:05:50 UTC 2011


commit 848a0220c2c6d9d2e2a3a2edf989cc7932ce0e11
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date:   Wed Jun 29 16:05:37 2011 +0200

    start crond after auditd

 .gitignore     |    1 -
 cronie.spec    |    5 ++++-
 cronie.systemd |   11 +++++++++++
 sources        |    1 -
 4 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fa08602..6c012c3 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 17c0fab..b3f47e8 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:   2%{?dist}
+Release:   3%{?dist}
 License:   MIT and BSD and ISC and GPLv2
 Group:     System Environment/Base
 URL:       https://fedorahosted.org/cronie
@@ -253,6 +253,9 @@ service crond condrestart > /dev/null 2>&1 ||:
 %attr(0644,root,root) %{_initrddir}/crond
 
 %changelog
+* Wed Jun 29 2011 Tomáš Mráz <tmraz at redhat.com> - 1.4.8-3
+- start crond after auditd
+
 * Wed Jun 29 2011 Tomáš Mráz <tmraz at redhat.com> - 1.4.8-2
 - fix inotify support to not leak fds (#717505)
 
diff --git a/cronie.systemd b/cronie.systemd
new file mode 100644
index 0000000..1524e2b
--- /dev/null
+++ b/cronie.systemd
@@ -0,0 +1,11 @@
+[Unit]
+Description=Command Scheduler
+After=syslog.target auditd.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