Bug#604855: unblock: shibboleth-sp2/2.3.1+dfsg-3
Ferenc Wagner <email@example.com> writes:
> Russ Allbery <firstname.lastname@example.org> writes:
>> Ferenc Wagner <email@example.com> 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
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 (firstname.lastname@example.org) <http://www.eyrie.org/~eagle/>