Date: Tue, 17 Aug 2010 13:27:23 +0100 From: RW <rwmaillists@googlemail.com> To: freebsd-questions@freebsd.org Subject: Re: Upgrading ports while processes are running. Message-ID: <20100817132723.737fe795@gumby.homeunix.com> In-Reply-To: <4C6A4593.8030405@beatsnet.com> References: <4C69D13F.9080404@dannysplace.net> <20100817032327.0349772b.freebsd@edvax.de> <84y6c6rnpp.fsf@shroyer.name> <4C6A4593.8030405@beatsnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 17 Aug 2010 10:17:23 +0200 Beat Siegenthaler <beat.siegenthaler@beatsnet.com> wrote: > It never causes trouble. The only thing that if I use restart, rc says > the daemon is not running (but running fine) . > But after reading Your article it is now clear why. I don't think it should be. Most daemons write their pid (process ID) to a pid-file on startup. When you stop an rc script it reads the pid-file and checks to see that there is a process with that pid and which has the correct command line. If no match is found you get that warning. Reinstalling a port shouldn't affect the pid file.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100817132723.737fe795>