]> git.pld-linux.org Git - packages/cronie.git/commitdiff
- add vixie-cron trigger
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 11 Aug 2009 20:23:42 +0000 (20:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cronie.spec -> 1.4

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.035246 seconds and 4 git commands to generate.