On Fri, Jan 25, 2008 at 03:17:55PM +0200, Lars Noodin wrote:
> How should I go about recording the process id for the OpenNTP daemon?
> Usually processes get written in /var/run/
> 
> Many daemons allow relocation via options or the config file e.g.
>       /usr/sbin/apt-cacher -d -p /var/run/apt-cacher.pid;
>       /usr/local/sbin/dnsmasq --pid-file=/var/run/dnsmasq.pid;
> 
> I've checked in the man pages for ntpd and ntpd.conf but these options
> are not mentioned.
>       http://www.openbsd.org/cgi-bin/man.cgi?query=ntpd
>       http://www.openbsd.org/cgi-bin/man.cgi?query=ntpd.conf
> 
> How is it done?
> 

We don't believe in pid files. Use pgrep(1) and pkill(1) instead, you will
never have stale info that way.

-- 
:wq Claudio

Reply via email to