[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#604855: unblock: shibboleth-sp2/2.3.1+dfsg-3



On 26/11/2010 16:57, Ferenc Wagner wrote:

Michael Biebl<biebl@debian.org>  writes:

the apache init script already has a status method, why don't you use

invoke-rc.d apache2 status>/dev/null 2>&1&&  invoke-rc.d apache2 restart

I like this idea.  Any objections against the following code?

     if [ -f /etc/apache2/mods-enabled/shib2.load ] ; then
         if invoke-rc.d apache2 status>/dev/null ; then
             invoke-rc.d apache2 restart
         fi
     fi


It's fine for me (if it matters).

Regards,

--
Mehdi Dogguy مهدي الدڤي
mehdi@{dogguy.org,debian.org}



Reply to: