Question about rc-scripts
Chuck Swiger
cswiger at mac.com
Tue Oct 9 17:35:33 PDT 2007
On Oct 9, 2007, at 5:16 PM, sdafreebsduk at rowyerboat.com wrote:
>> Most binaries i.e. httpd, memcached, mysqld, etc... provide a
>> config file or cli option to provide the path to a pid file.
>
> Like you say - I can't find anything in rc.subr that would create a
> pid. So, I looked in /etc/rc.d/ntpd (for example), and I still
> can't find in there where it might create a pid.
In the case of ntpd, the default arguments look like this:
/usr/sbin/ntpd -p /var/run/ntpd.pid ...
...so the ntpd process creates the pidfile.
--
-Chuck
More information about the freebsd-questions
mailing list