Gets public IP every hour

This commit is contained in:
Quentin McGaw
2020-07-08 22:47:12 +00:00
parent 2c96f91043
commit ad73a027f3
2 changed files with 15 additions and 0 deletions

View File

@@ -223,6 +223,7 @@ func _main(background context.Context, args []string) int {
publicIPLooper := publicip.NewLooper(client, logger, fileManager, allSettings.System.IPStatusFilepath, uid, gid)
go publicIPLooper.Run(ctx, restartPublicIP)
go publicIPLooper.RunRestartTicker(ctx, restartPublicIP)
go func() {
first := true