Skip Menu |
 

Subject: Apple patch to use pidfile (FreeBSD) for daemons
CC: lha@apple.com
This patch from Apple uses the FreeBSD pidfile API to create PID files
for daemons. We need to implement this in a cross-platform way.
Download LHA-4961569-6165607-pidfile.patch
application/octet-stream 8.9KiB

Message body not shown because it is not plain text.

Date: Tue, 21 Oct 2008 15:12:20 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: rt@krbdev.mit.edu
Subject: Re: [krbdev.mit.edu #6213] Apple patch to use pidfile (FreeBSD) for daemons
RT-Send-Cc:
On Tue, Oct 21, 2008 at 08:04:30PM +0000, Tom Yu via RT wrote:
Show quoted text
> This patch from Apple uses the FreeBSD pidfile API to create PID files
> for daemons. We need to implement this in a cross-platform way.

Notes about Solaris and PID files:

- On Solaris daemons managed by SMF don't need PID files unless you
have utilities that need to know a daemon's PID so they can signal it
(for any purpose *other* than killing it or otherwise making it
exit).

- On Solaris PID files should live in /var/run, and if they really must
be in /etc/ then it must be possible to have a symlink in /etc
instead that points to /var/run/...

Nico
--