]> git.pld-linux.org Git - packages/proftpd.git/commitdiff
- proftpd standalone daemon needs restart after pam upgrade auto/th/proftpd-1_3_3c-1 auto/ti/proftpd-1_3_3c-1
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 4 Nov 2010 09:55:43 +0000 (09:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    proftpd.spec -> 1.277

proftpd.spec

index c5997ebdc4b8de6aa60554e2bdb000e17142dc38..205ac22d036b601bffd2b61139f4214fc9c11a0a 100644 (file)
@@ -595,6 +595,13 @@ if [ "$1" = "0" ]; then
        /sbin/chkconfig --del proftpd
 fi
 
+%triggerin standalone -- pam
+# restart proftpd if pam is upgraded
+# (proftpd is linked with old libpam but tries to open modules linked with new libpam)
+if [ "$2" != 1 ]; then
+       %service -q proftpd restart
+fi
+
 # macro called at module post scriptlet
 %define        module_post \
 if [ "$1" = "1" ]; then \
This page took 0.158644 seconds and 4 git commands to generate.