[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: daemon pid file location
From: |
Lars Hecking |
Subject: |
Re: daemon pid file location |
Date: |
Mon, 8 Jul 2002 17:03:16 +0100 |
User-agent: |
Mutt/1.5.1i |
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.