MCPcopy Create free account
hub / github.com/eth-easl/dirigent / StartHAProxy

Method StartHAProxy

internal/data_plane/haproxy/manager.go:81–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79}
80
81func (api *API) StartHAProxy() {
82 go func() {
83 err := exec.Command("sudo", "systemctl", "start", "haproxy").Run()
84 if err != nil {
85 logrus.Errorf("Error starting HAProxy - %v", err.Error())
86 }
87 }()
88}
89
90func (api *API) StopHAProxy() {
91 go func() {

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected