Manual

HP NonStop Time Synchronization User’s Guide Page 48 of 81
order to update the local system time.
For example, to start the TimeSync service manually, the commands would be:
[root tmp]# cd /etc/init.d
[root tmp]# ./timesync start
If TimeSync will be run as a Linux service/daemon, you must set the RunAsService
value in the TimeSync configuration file (timesync.conf) to True.
If you installed TimeSync using the tar archive file, and did not manually add
TimeSync as a service to be started at boot time, then you can simply run TimeSync as
you would any other application on the system. Since TimeSync is intended to run
continuously, HP recommends that you start it as a background process.
Alternatively, you can still set the RunAsService value in the TimeSync configuration
file to True. Doing so will cause TimeSync to act as a daemon, even though it was not
started during system startup and is not configured as a true Linux service. Note that
if TimeSync will run with client mode enabled, it must be started with root authority in
order to update the local system time.
For example, if TimeSync was installed to /usr/bin/timesync, the commands to start it
would be:
[root tmp]# cd /usr/bin/timesync
[root tmp]# ./timesync &
If the TimeSync configuration file is not named timesync.conf, or does not reside in the
program directory, you can supply the file location and name using the conf command-
line option.
5.4 Starting TimeSync on Windows
As was the case for Linux, the process for starting TimeSync on Windows is dependent
upon how TimeSync is configured and how it was installed.
If you elected to install TimeSync as a Windows service (the default), then TimeSync
will automatically be run the next time the system is restarted. However, if you want
to manually start the TimeSync service without restarting the system, you can do so
using the Windows Services manager.
To manually start the TimeSync service: