Date: Wed, 11 Oct 2006 13:48:28 -0400 From: "Sang-Kil (Sam) Suh" <ssuh@agnicorp.com> To: freebsd-questions@freebsd.org Subject: Re: ntpd with flags in rc.conf Message-ID: <20061011174828.GA88360@ssuh.agnicorp.net> In-Reply-To: <20061011192435.N4855@192.168.11.51> References: <20061011192435.N4855@192.168.11.51>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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@agnicorp.com Agnicorp Inc. 487 Adelaide Street West, Suite 200 M5V 1T4 Telephone: 416.203.7838 Facsimile: 416.203.8837 =====================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061011174828.GA88360>