Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prod: provide init scripts #3680

Closed
mberhault opened this issue Jan 7, 2016 · 6 comments
Closed

prod: provide init scripts #3680

mberhault opened this issue Jan 7, 2016 · 6 comments
Assignees
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Milestone

Comments

@mberhault
Copy link
Contributor

One of the standard ways of running cockroach will be through init scripts.

We need to consider a few things:

  • which type to support? systemd vs upstart vs ???
  • how to do config? we may need to introduce a config file. Something that maps directly to cmdline flags would be nice.
@mberhault mberhault added the C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) label Jan 7, 2016
@mberhault mberhault self-assigned this Jan 7, 2016
@mberhault
Copy link
Contributor Author

as far as I can tell, https://github.com/spf13/viper can be used to populate spf13/cobra flags from a config file. This may be a good solution.

@mberhault mberhault added this to the Beta milestone Jan 11, 2016
@petermattis petermattis changed the title Provide init scripts. prod: provide init scripts Feb 12, 2016
@petermattis petermattis modified the milestones: 1.0, Beta Mar 8, 2016
@spencerkimball spencerkimball modified the milestones: Later, 1.0 Mar 28, 2017
@alanhamlett
Copy link

👍

@knz
Copy link
Contributor

knz commented Apr 27, 2018

This came up on the forum recently: https://forum.cockroachlabs.com/t/configuration-files-with-cockroachdb/506/4

@tbg
Copy link
Member

tbg commented May 3, 2018

@petermattis which team owns this? Presumably due to the catchall nature of CF&S that's where it has ended up right now, but I'm unlikely to ever do anything about it.

@tbg tbg added this to Backlog in KV May 3, 2018
@petermattis petermattis added this to To do in DB Server & Security via automation May 3, 2018
@petermattis petermattis removed this from Backlog in KV May 3, 2018
@petermattis
Copy link
Collaborator

There is a CLI team now. Seems to fall under their domain.

@tbg tbg added the A-cli label May 5, 2018
@mberhault
Copy link
Contributor Author

DB Server & Security automation moved this from To do to Done Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Projects
None yet
Development

No branches or pull requests

6 participants