Bug#604855: unblock: shibboleth-sp2/2.3.1+dfsg-3
Mehdi Dogguy
mehdi at debian.org
Fri Nov 26 17:27:12 UTC 2010
On 26/11/2010 16:57, Ferenc Wagner wrote:
>
> Michael Biebl<biebl at 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}
More information about the Pkg-shibboleth-devel
mailing list