Apache reload
This commit is contained in:
parent
59ba19c292
commit
cf66d9134f
|
@ -93,18 +93,18 @@ if [ ! -f /var/lib/%{lam_dir}/config/config.cfg ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
%if %is_suse
|
%if %is_suse
|
||||||
/etc/init.d/apache2 restart
|
/etc/init.d/apache2 reload
|
||||||
%endif
|
%endif
|
||||||
%if %is_fedora
|
%if %is_fedora
|
||||||
/etc/init.d/httpd restart
|
/etc/init.d/httpd reload
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%if %is_suse
|
%if %is_suse
|
||||||
/etc/init.d/apache2 restart
|
/etc/init.d/apache2 reload
|
||||||
%endif
|
%endif
|
||||||
%if %is_fedora
|
%if %is_fedora
|
||||||
/etc/init.d/httpd restart
|
/etc/init.d/httpd reload
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
@ -132,6 +132,9 @@ fi
|
||||||
%{httpd_confdir}
|
%{httpd_confdir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Oct 07 2012 - Roland Gruber post@rolandgruber.de
|
||||||
|
- Apache reload instead of restart
|
||||||
|
|
||||||
* Wed Jun 08 2011 - Roland Gruber post@rolandgruber.de
|
* Wed Jun 08 2011 - Roland Gruber post@rolandgruber.de
|
||||||
- Install into /usr/share/ldap-account-manager
|
- Install into /usr/share/ldap-account-manager
|
||||||
|
|
||||||
|
|
|
@ -92,9 +92,9 @@ if [ "$1" = "configure" ]; then
|
||||||
for server in $restart; do
|
for server in $restart; do
|
||||||
server=${server%,}
|
server=${server%,}
|
||||||
if [ -x /usr/sbin/invoke-rc.d ]; then
|
if [ -x /usr/sbin/invoke-rc.d ]; then
|
||||||
invoke-rc.d $server restart
|
invoke-rc.d $server reload
|
||||||
else
|
else
|
||||||
/etc/init.d/$server restart
|
/etc/init.d/$server reload
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -36,9 +36,9 @@ if [ -f /usr/share/debconf/confmodule ]; then
|
||||||
for server in $restart; do
|
for server in $restart; do
|
||||||
server=${server%,}
|
server=${server%,}
|
||||||
if [ -x /usr/sbin/invoke-rc.d ]; then
|
if [ -x /usr/sbin/invoke-rc.d ]; then
|
||||||
invoke-rc.d $server restart
|
invoke-rc.d $server reload
|
||||||
else
|
else
|
||||||
/etc/init.d/$server restart
|
/etc/init.d/$server reload
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue