feat: Add time api to apid

This extends apid to cover the time api.

Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
This commit is contained in:
Brad Beam
2019-10-25 19:08:55 +00:00
committed by Andrew Rynhard
parent d3d011c8d2
commit ee24e42319
12 changed files with 310 additions and 87 deletions

View File

@@ -194,8 +194,8 @@ const (
// MachineSocketPath is the path to file socket of machine API.
MachineSocketPath = SystemRunPath + "/machined/machine.sock"
// NtpdSocketPath is the path to file socket of time API.
NtpdSocketPath = SystemRunPath + "/ntpd/ntpd.sock"
// TimeSocketPath is the path to file socket of time API.
TimeSocketPath = SystemRunPath + "/ntpd/ntpd.sock"
// NetworkdSocketPath is the path to file socket of network API.
NetworkdSocketPath = SystemRunPath + "/networkd/networkd.sock"