On Tue, Jul 12, 2011 at 04:58:17PM -0700, Ira Weiny wrote:

> > The usual way to do this is to have the daemon drop a pidfile to the
> > location set by its --pidfile argument after it forks, but before the
> > command returns.
> 
> You mean like Alex's patch did?  I have not seen this done before.
> I checked out apache's httpd command and I don't see it doing this.

I didn't look closely..

At least sshd, ntpd, acpid, and dbus are working that way on my ubuntu
system.. Some commands write a default pidfile automaticaly rather
than doing nothing, but upstart and systemd eliminate the need
for a pid file at all, so I prefer to see a no write option.

> > If --pidfile is not given it should not drop a pidfile anyplace.
> 
> "it" is opensm in this case?

Yes

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to