]> git.pld-linux.org Git - packages/cronie.git/commitdiff
- restart crond when pam is upgraded; rel 2
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 31 Oct 2010 22:18:08 +0000 (22:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cronie.spec -> 1.36

cronie.spec

index c4d09de9f685d4789dd1cf36e4aaf3a99065630b..7d8e9739f64b8e9ec26a72fdcdb9f5da285436f7 100644 (file)
@@ -17,7 +17,7 @@
 Summary:       Cron daemon for executing programs at set times
 Name:          cronie
 Version:       1.4.6
-Release:       1
+Release:       2
 License:       MIT and BSD and GPL v2
 Group:         Daemons
 Source0:       https://fedorahosted.org/releases/c/r/cronie/%{name}-%{version}.tar.gz
@@ -170,6 +170,12 @@ if [ "$1" = "0" ]; then
        %groupremove crontab
 fi
 
+%triggerin -- pam
+# restart crond if pam is upgraded
+if [ "$2" != 1 ]; then
+       %service -q crond restart
+fi
+
 %triggerun -- hc-cron,fcron,vixie-cron
 # Prevent preun from crond from working
 chmod a-x /etc/rc.d/init.d/crond
This page took 0.081315 seconds and 4 git commands to generate.