S6-CLOCKADD(8)

NAME
s6-clockadd - adjust the system clock depending on the input provided by a time client

SYNOPSIS
s6-clockadd [-f] [-e errmax]

DESCRIPTION
s6-clockadd reads its stdin, expecting input from a program such as s6-taiclock(8) or s6-sntpclock(8) (which get time from a time server).

It sets the system clock so the system time becomes the one given by the server. Then it exits 0.

s6-clockadd must be run as root. The client getting the time from a time server, however, does not have to.

OPTIONS

-f  Force. Normally, s6-clockadd exits 1 if the time discrepancy read from stdin is bigger than errmax milliseconds. If this option is set, it will print a warning message, but still set the system time and exit 0.

-e errmax
    Accept a maximum time discrepancy of errmax milliseconds. By default, errmax is 2000.

SEE ALSO
s6-clockview(8), s6-sntpclock(8), s6-taiclock(8), s6-taiclockd(8)

This man page is ported from the authoritative documentation at: https://skarnet.org/software/s6-networking/s6-clockadd.html

AUTHORS
Laurent Bercot Alexis <flexibeast@gmail.com> (man page port)