func newServer(name string, start, kill, restart *exec.Cmd, urls []string, outputFileName string, monitorParent, restartOnExit bool) *server {
	return &server{
		name:            name,
		startCommand:    start,
		killCommand:     kill,
		restartCommand:  restart,
		healthCheckUrls: urls,
		outFilename:     outputFileName,
		monitorParent:   monitorParent,
		restartOnExit:   restartOnExit,
	}
}
// newServer returns a new server with the given name, commands, health check
// URLs, etc.
newServer returns a new server with the given name, commands, health check
URLs, etc.
// newServer returns a new server with the given name commands health check // URLs etc .
func newServer(name string, start, kill, restart *exec.Cmd, urls []string, outputFileName string, monitorParent, restartOnExit bool) *server {
	return &server{
		name:            name,
		startCommand:    start,
		killCommand:     kill,
		restartCommand:  restart,
		healthCheckUrls: urls,
		outFilename:     outputFileName,
		monitorParent:   monitorParent,
		restartOnExit:   restartOnExit,
	}
}
func newServer ( name string , start , kill , restart * exec . Cmd , urls [ ] string , outputFileName string , monitorParent , restartOnExit bool ) * server { return & server { name : name , startCommand : start , killCommand : kill , restartCommand : restart , healthCheckUrls : urls , outFilename : outputFileName , monitorParent : monitorParent , restartOnExit : restartOnExit , } }
newServer returns a new server with the given name, commands, health check
URLs, etc.
newServer returns a new server with the given name commands health check URLs etc .