packages: cronie/cronie.spec - add vixie-cron trigger
arekm
arekm at pld-linux.org
Tue Aug 11 22:23:47 CEST 2009
Author: arekm Date: Tue Aug 11 20:23:47 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- add vixie-cron trigger
---- Files affected:
packages/cronie:
cronie.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/cronie/cronie.spec
diff -u packages/cronie/cronie.spec:1.3 packages/cronie/cronie.spec:1.4
--- packages/cronie/cronie.spec:1.3 Tue Aug 11 22:18:54 2009
+++ packages/cronie/cronie.spec Tue Aug 11 22:23:42 2009
@@ -148,6 +148,15 @@
/sbin/chkconfig --del crond
/sbin/chkconfig --add crond
+%triggerun -- vixie-cron
+# Prevent preun from crond from working
+chmod a-x /etc/rc.d/init.d/crond
+
+%triggerpostun -- vixie-cron
+# Restore what triggerun removed
+chmod 754 /etc/rc.d/init.d/crond
+/sbin/chkconfig --add crond
+
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README
@@ -183,6 +192,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2009/08/11 20:23:42 arekm
+- add vixie-cron trigger
+
Revision 1.3 2009/08/11 20:18:54 arekm
- supported way is to set via configure visible vars
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cronie/cronie.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list