Ionutz Borcoman writes:
> Hi,
> 
> For a daemon, how do I code the location of the pidfile ? Normaly it in 
> /var/run, but some systems, like our old SCO, don't have this directory. 
> So where should I put this pidfile, by default ?

 The arguably easiest way is to create /var/run where it doesn't exist
 and just use it. Maybe combined with a -v flag for the daemon that lists
 the version, full path name of the actual pid file and maybe other
 relevant info.


Reply via email to