From 21ce2e32d73cd4d8fe6b15585457afca8f22f0bf Mon Sep 17 00:00:00 2001 From: = Date: Sat, 6 Nov 2021 01:41:45 +0100 Subject: [PATCH] Sleep after activating watchdog --- cmd/apiary.go | 1 + version.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/apiary.go b/cmd/apiary.go index cc543fc..167eb53 100644 --- a/cmd/apiary.go +++ b/cmd/apiary.go @@ -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) diff --git a/version.go b/version.go index 29d2406..5fdd0df 100644 --- a/version.go +++ b/version.go @@ -5,7 +5,7 @@ import ( "runtime" ) -var Version = "v0.1.23" +var Version = "v0.1.24" var Build string func FullVersion() string {