浏览代码

temporary fix for starting grafana not running systemd

Marcus Efraimsson 7 年之前
父节点
当前提交
a6a1362ad1
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      pkg/cmd/grafana-server/server.go

+ 1 - 4
pkg/cmd/grafana-server/server.go

@@ -162,10 +162,7 @@ func (g *GrafanaServerImpl) Run() error {
 		})
 		})
 	}
 	}
 
 
-	err = sendSystemdNotification("READY=1")
-	if err != nil {
-		return fmt.Errorf("Could not send systemd notification: %v", err)
-	}
+	sendSystemdNotification("READY=1")
 
 
 	return g.childRoutines.Wait()
 	return g.childRoutines.Wait()
 }
 }