adding ntp on bootup

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

adding ntp on bootup

Postby Op3r » Thu May 28, 2009 5:35 am

Hello,

Is there a way to find where is the rc.local equivalent to set the ntp?
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby okli » Thu May 28, 2009 6:37 am

Are you looking for /etc/init.d/rc.local ?

The proper way to add a startup script would be similar:
http://www.debian-administration.org/ar ... ith_Debian

However, vicibox server installs the package NTP, which should take care of time synchronization and ntpd daemon should be starting by default upon startup. /etc/ntp.conf is the config file for it.
Ntpdate is also started in /etc/network/if-up.d/ntpdate when any of the network interfaces go up, at boot time at least.

Can't find any reference though, how often synchronization is performed, but you can always add a crontab entry to run ntpdate.
okli
 
Posts: 670
Joined: Mon Oct 01, 2007 5:09 pm

Postby mcargile » Thu May 28, 2009 11:38 am

I believe ntp is handled by the ntpd init script which should be running. All you should need to do is configured /etc/ntp.conf.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 617
Joined: Tue Jan 16, 2007 9:38 am


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 9 guests