tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Allow pidfile(3) to create pidfiles in arbitrary locations
On 23.03.2011 10:32, Julio Merino wrote:
> Hello,
>
> I would like to change pidfile(3) to support creating pidfiles in arbitrary
> locations.
>
> Use case: I want to add a flag to a program to specify if a pid file should
> to be created or not, and I want such flag to carry the path to such pid
> file. At the moment, I can't use pidfile(3) for this because it blindly
> hardcodes /var/run. (More specifically, I want the pid file to be created
> in the current directory for the purposes of a test program that should
> *not* require root privileges.)
>[snip]
> Comments?
None. I just read your patch and did not find any kind of regression
from previous pidfile(3) behaviour, so looks fine to me.
--
Jean-Yves Migeon
jeanyves.migeon%free.fr@localhost
Home |
Main Index |
Thread Index |
Old Index