chore: ntp service dep with sing, optional synchronize system time
This commit is contained in:
@ -186,7 +186,7 @@ func updateExperimental(c *config.Config) {
|
||||
func updateNTP(c *config.NTP) {
|
||||
if c.Enable {
|
||||
ntp.ReCreateNTPService(net.JoinHostPort(c.Server, strconv.Itoa(c.Port)),
|
||||
time.Duration(c.Interval))
|
||||
time.Duration(c.Interval), c.WriteToSystem)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user