ntpd with flags in rc.conf

Sang-Kil (Sam) Suh ssuh at agnicorp.com
Wed Oct 11 10:49:33 PDT 2006

On Wed, Oct 11, 2006 at 07:28:15PM +0200, Zbigniew Szalbot wrote:
> Hello,
> I read this in the handbook:
> To ensure the NTP server is started at boot time, add the line 
> ntpd_enable="YES" to /etc/rc.conf. If you wish to pass additional flags to 
> ntpd(8), edit the ntpd_flags parameter in /etc/rc.conf.
> Now, I understand that the additional flag may be for example pid 
> (-p /var/run/ntpd.pid).
> So how do I put that flag in /etc/rc.conf where I have ntpd_enable="Yes"?
> Many thanks for your advice!
> --
> Zbigniew Szalbot
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

>From man rc.conf:

     ntpd_flags  (str) If ntpd_enable is set to ``YES'', these are the flags
                 to pass to the ntpd(8) daemon.

Mine is:
ntpd_flags=" -c /etc/ntp.conf -p /var/run/ntpd.pid"

Sang-Kil (Sam) Suh ( ext. 262 )                     ssuh at agnicorp.com
Agnicorp Inc.      487 Adelaide Street West, Suite 200        M5V 1T4
Telephone: 416.203.7838                       Facsimile: 416.203.8837

More information about the freebsd-questions mailing list