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