MCPcopy Create free account
hub / github.com/ContentSquare/chproxy / notifyReady

Function notifyReady

main.go:90–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88}
89
90func notifyReady() {
91 sent, err := sdNotifyReady()
92 if err != nil {
93 log.Errorf("SdNotify error: %s", err)
94 } else if !sent {
95 log.Debugf("SdNotify unsupported (not a systemd service?)")
96 }
97}
98
99func setupReloadConfigWatch() {
100 c := make(chan os.Signal, 1)

Callers 1

mainFunction · 0.85

Calls 3

ErrorfFunction · 0.92
DebugfFunction · 0.92
sdNotifyReadyFunction · 0.70

Tested by

no test coverage detected