On 26/11/2010 16:57, Ferenc Wagner wrote:
Michael Biebl 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/ap
Russ Allbery writes:
> Ferenc Wagner writes:
>
>> Russ Allbery writes:
>>
>>> Ferenc Wagner 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
On 25.11.2010 13:13, Teodor MICU wrote:
>
> I see at least two possible implementations:
> 1) use the 'status_of_proc' LSB function (there are many init scripts
> doing this for the status command);
> 2) check if there is any Apache process running:
> # pidof apache2 > /dev/null && invoke-rc.d a
Ferenc Wagner writes:
> Russ Allbery writes:
>> Ferenc Wagner 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 enable
Hi,
2010/11/25 Russ Allbery :
> Ah, hm, that's a good point. I hadn't thought about that, since the old
> Shibboleth modules depended on Apache. But the current packages only
> recommend.
>
> I'm not sure the best way to do this. Check for whether apache2.2-common
> is installed, since it conta
Russ Allbery writes:
> Ferenc Wagner 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
installe
Mehdi Dogguy writes:
> On 11/24/2010 10:02 PM, Russ Allbery wrote:
>> Please unblock package shibboleth-sp2. This package includes both a
>> daemon and an Apache module, and those need to be in sync following an
>> upgrade or strange problems can result. This version adds code to
>> postinst to
On 11/24/2010 10:02 PM, Russ Allbery wrote:
>
> Please unblock package shibboleth-sp2. This package includes both a
> daemon and an Apache module, and those need to be in sync following an
> upgrade or strange problems can result. This version adds code to
> postinst to restart Apache after upgr
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: unblock
Please unblock package shibboleth-sp2. This package includes both a
daemon and an Apache module, and those need to be in sync following an
upgrade or strange problems can result. This vers
9 matches
Mail list logo