Closed mehtaphysical closed 8 years ago
When i try to run consul in server mode i get an error saying that consul needs to be passed -server. Right now it appears consul is setup in server mode in the config json, but the command is never run with the -server flag (see here https://github.com/cloudfoundry-incubator/consul-release/blob/v9/src/confab/agent_runner.go#L51).
Maybe add an args filed to the AgentRunner struct and append them to cmd. I'll try this way and submit a PR.
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/108697356.
When i try to run consul in server mode i get an error saying that consul needs to be passed -server. Right now it appears consul is setup in server mode in the config json, but the command is never run with the -server flag (see here https://github.com/cloudfoundry-incubator/consul-release/blob/v9/src/confab/agent_runner.go#L51).
Maybe add an args filed to the AgentRunner struct and append them to cmd. I'll try this way and submit a PR.