rpms/cronie/devel cronie.spec,1.3,1.4
Marcela Mašláňová (mmaslano)
fedora-extras-commits at redhat.com
Thu Feb 7 14:51:05 UTC 2008
Author: mmaslano
Update of /cvs/pkgs/rpms/cronie/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10248
Modified Files:
cronie.spec
Log Message:
/etc/rc.d/*/*crond shows no runlevel links to start or stop crond.
Fix in triggers.
Index: cronie.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cronie/devel/cronie.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- cronie.spec 5 Feb 2008 14:50:39 -0000 1.3
+++ cronie.spec 7 Feb 2008 14:50:24 -0000 1.4
@@ -1,10 +1,12 @@
%bcond_without selinux
%bcond_without pam
%bcond_without audit
+%bcond_without inotify
+
Summary: Cron daemon for executing programs at set times
Name: cronie
Version: 1.0
-Release: 3%{?dist}
+Release: 4%{?dist}
License: MIT and BSD
Group: System Environment/Base
URL: https://fedorahosted.org/cronie
@@ -54,7 +56,10 @@
--with-selinux \
%endif
%if %{with audit}
---with-audit
+--with-audit \
+%endif
+%if %{with inotify}
+--with-inotify
%endif
make %{?_smp_mflags}
@@ -92,13 +97,16 @@
service crond condrestart > /dev/null 2>&1 ||:
fi
-#copy the lock
+#copy the lock, remove old daemon from chkconfig
%triggerun -- vixie-cron
cp -a /var/lock/subsys/crond /var/lock/subsys/cronie > /dev/null 2>&1 ||:
+/sbin/chkconfig --del crond
#if the lock exist, then we restart daemon (it was running in the past).
+#add new daemon into chkconfig
%triggerpostun -- vixie-cron
[ -f /var/lock/subsys/cronie ] && ( rm -f /var/lock/subsys/cronie ; \
+/sbin/chkconfig --add crond; \
service crond restart ) > /dev/null 2>&1 ||:
%files
@@ -120,6 +128,9 @@
%config(noreplace) %{_sysconfdir}/cron.deny
%changelog
+* Wed Feb 6 2008 Marcela Maslanova <mmaslano at redhat.com> - 1.0-4
+- 431366 after reboot wasn't cron in chkconfig
+
* Tue Feb 5 2008 Marcela Maslanova <mmaslano at redhat.com> - 1.0-3
- 431366 trigger part => after update from vixie-cron on cronie will
be daemon running.
More information about the fedora-extras-commits
mailing list