]> git.pld-linux.org Git - packages/apache1-mod_auth_ldap.git/commitdiff
- restart apache in post/preun
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 7 Nov 2001 16:02:29 +0000 (16:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_auth_ldap.spec -> 1.12

apache1-mod_auth_ldap.spec

index d4e76d5f547426399859a00c630d6b59e275d8a4..90fcabd5841daffb461ba2cd94af187f6bd9bc7b 100644 (file)
@@ -61,10 +61,16 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 /usr/sbin/apxs -e -a -n auth_ldap %{_libexecdir}/mod_auth_ldap.so 1>&2
+if [ -f /var/lock/subsys/httpd ]; then
+       /etc/rc.d/init.d/httpd restart 1>&2
+fi
 
 %preun
 if [ "$1" = "0" ]; then
        /usr/sbin/apxs -e -A -n auth_ldap %{_libexecdir}/mod_auth_ldap.so 1>&2
+       if [ -f /var/lock/subsys/httpd ]; then
+               /etc/rc.d/init.d/httpd restart 1>&2
+       fi
 fi
 
 %files
This page took 0.101842 seconds and 4 git commands to generate.