Ferenc Wagner <[email protected]> writes:
> Russ Allbery <[email protected]> writes:
>> Ferenc Wagner <[email protected]> writes:

>>> Maybe invoke-rc.d --quiet apache2 restart || [ $? -eq 100 ] ?

>> Ah, that's a good idea.  I didn't realize invoke-rc.d had a special
>> exit status for a missing script.

> But anyway, can the Shibboleth module be enabled when Apache isn't
> installed?  The restart is already protected by this check:

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

I think it can if Apache is then removed (but not purged), but someone
else also pointed out that we don't want to restart Apache if it's not
running, which would also take care of the problem of ensuring Apache is
installed.  I'll forward that message along.

-- 
Russ Allbery ([email protected])               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to