Date: Thu, 2 Jun 2005 12:20:40 -0500 From: Scot Hetzel <swhetzel@gmail.com> To: Simon Barner <barner@freebsd.org> Cc: ports@freebsd.org, bob frazier <bobf@mrp3.com> Subject: Re: ports/74615, deinstall target to stop daemon. Message-ID: <790a9fff050602102075cd3f25@mail.gmail.com> In-Reply-To: <20050601131216.GL63323@zi025.glhnet.mhn.de> References: <20050601131216.GL63323@zi025.glhnet.mhn.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/1/05, Simon Barner <barner@freebsd.org> wrote: > Hi, >=20 > what do you think about this deinstall target? It works, but isn't it a > bit much bloat? >=20 > Otherwise, I have this port ready to commit. >=20 I would get rid of the deinstall target completely. You should add the following to shutdown the quoted daemon in the pkg-plist on deinstall: @unexec %D/etc/rc.d/quoted.sh stop 2>/dev/null || true etc/rc.d/quoted.sh If your script is compatible with the rc_NG system, then the stop should be a forcestop. Also, if your script fails to remove the *.pid file you may need to fix it, or convert it to the rc_NG format for rc.d scripts. Scot Scot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff050602102075cd3f25>