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

Michael Biebl<bi...@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 مهدي الدڤي
me...@{dogguy.org,debian.org}



--
To UNSUBSCRIBE, email to debian-release-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cefedf0.6050...@debian.org

Reply via email to