Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Dec 2011 08:38:20 +0000
From:      Chris Rees <crees@freebsd.org>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        Baptiste Daroussin <bapt@freebsd.org>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: again, ports that stop daemons
Message-ID:  <CADLo83_oR02q5XAM%2BcmgZE3YmoTkoXdLp-KCZEn-=kVz7ph21A@mail.gmail.com>
In-Reply-To: <4ED95A95.9040805@FreeBSD.org>
References:  <4ED8C0F1.807@FreeBSD.org> <CAJ_iqta0OCB8SktnR4fXawvEGiGx92wEgtaowMp1U2ooHiMa7Q@mail.gmail.com> <20111202195555.GD1913@azathoth.lan> <4ED95A95.9040805@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2 December 2011 23:09, Andriy Gapon <avg@freebsd.org> wrote:
> on 02/12/2011 21:55 Baptiste Daroussin said the following:
>> On Fri, Dec 02, 2011 at 08:38:05PM +0100, Torfinn Ingolfsen wrote:
>>> On Fri, Dec 2, 2011 at 1:13 PM, Andriy Gapon <avg@freebsd.org> wrote:
>>>>
>>>> Or that they simply quit doing that and instead print a message like "Port X is
>>>> deinstalled but it may have some processes running, please do Y and/or Z to find
>>>> them and/or stop them".
>>>
>>> I prefer this suggestion.
>>
>> I also would prefer this.
>
>
> BTW, this part of my suggestion was inspired by the following:
> http://en.opensuse.org/SDB:Zypper_usage_11.3#Check_processes
>
> Not sure how that feature is implemented though.

A little service magic would do;

[ service blargh status 2>/dev/null ] && echo "DON'T FORGET TO STOP
THIS SERVICE!!!"

I'll prepare a patch, as long as there's some chance of it going in ;)

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83_oR02q5XAM%2BcmgZE3YmoTkoXdLp-KCZEn-=kVz7ph21A>