Sleep after activating watchdog

This commit is contained in:
Torjus Håkestad 2021-11-06 01:41:45 +01:00
parent 87794ee634
commit 21ce2e32d7
2 changed files with 2 additions and 1 deletions

View File

@ -196,6 +196,7 @@ func ActionServe(c *cli.Context) error {
loggers.rootLogger.Warnw("Unable to connect to NOTIFY_SOCKET to notify watchdog.", "error", err)
return
}
time.Sleep(1 * time.Second)
// Setup timer
timeout, err := daemon.SdWatchdogEnabled(false)

View File

@ -5,7 +5,7 @@ import (
"runtime"
)
var Version = "v0.1.23"
var Version = "v0.1.24"
var Build string
func FullVersion() string {