Upgrading ports while processes are running.

RW rwmaillists at googlemail.com
Tue Aug 17 12:27:30 UTC 2010

On Tue, 17 Aug 2010 10:17:23 +0200
Beat Siegenthaler <beat.siegenthaler at 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.

More information about the freebsd-questions mailing list