Sleep after activating watchdog
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user