()
| 88 | } |
| 89 | |
| 90 | func 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 | |
| 99 | func setupReloadConfigWatch() { |
| 100 | c := make(chan os.Signal, 1) |
no test coverage detected