]> git.pld-linux.org Git - packages/cronie.git/blobdiff - cronie.spec
- add vixie-cron trigger
[packages/cronie.git] / cronie.spec
index c4e9b91015af65775c38c9fc12088d68da6cb629..dd0b2aab2c6d22b8409c99049c508bbb5c3eaf84 100644 (file)
@@ -147,6 +147,15 @@ fi
 /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
This page took 0.055851 seconds and 4 git commands to generate.