again, ports that stop daemons

Chris Rees crees at freebsd.org
Sat Dec 3 08:46:43 UTC 2011


On 3 Dec 2011 08:38, "Chris Rees" <crees at freebsd.org> wrote:
>
> On 2 December 2011 23:09, Andriy Gapon <avg at 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 at 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!!!"

Ahem, sorry, forget the square brackets... d'oh

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


More information about the freebsd-ports mailing list