Check if the dns add-on is working properly and skip invalid TCP services

This commit is contained in:
Manuel de Brito Fontes 2016-02-25 14:54:12 -03:00
parent a87efce5c2
commit 98f03b789a
3 changed files with 58 additions and 27 deletions

View file

@ -30,6 +30,7 @@ const (
// Start starts a nginx (master process) and waits. If the process ends
// we need to kill the controller process and return the reason.
func (ngx *NginxManager) Start() {
glog.Info("Starting nginx...")
cmd := exec.Command("nginx")
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr