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

hab sup install-initscript command #2090

Open
smith opened this issue Apr 12, 2017 · 7 comments
Open

hab sup install-initscript command #2090

smith opened this issue Apr 12, 2017 · 7 comments
Labels
Focus: CLI Related to the Habitat CLI (core/hab) component Focus:Supervisor Related to the Habitat Supervisor (core/hab-sup) component Stale Type: Feature Issues that describe a new desired feature

Comments

@smith
Copy link
Contributor

smith commented Apr 12, 2017

If I'm running a supervisor on a machine, I want an easy way to make it so the supervisor will start when I reboot the machine. A command like hab sup install-initscript (maybe not the right name) would:

  • Detect what kind of initsystem we're running (Chef::Platform::ServiceHelpers has a lot of example code)
  • Install the appropriate SystemD Unit, rc.d script, Windows service thing, etc. from a template
  • Use most of the same command line options as hab sup run and have them saved in the initscript
@adamhjk
Copy link
Contributor

adamhjk commented Apr 12, 2017

A+, would absolutely merge.

gif-keyboard-14115113967407314244

@fnichol
Copy link
Collaborator

fnichol commented Apr 18, 2017

hab sup init generate or something similar?

@bixu
Copy link
Contributor

bixu commented Jun 20, 2018

hab sup bootstrap?

@christophermaier
Copy link
Contributor

@bixu
tenor-249268741

@baumanj baumanj added the E-hard label Nov 30, 2018
@stale
Copy link

stale bot commented Apr 3, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

@stale stale bot added the Stale label Apr 3, 2020
@bixu
Copy link
Contributor

bixu commented Apr 3, 2020

I'd still love to see this to improve the onboarding story.

@stale stale bot removed the Stale label Apr 3, 2020
@christophermaier christophermaier added Focus:Supervisor Related to the Habitat Supervisor (core/hab-sup) component Focus: CLI Related to the Habitat CLI (core/hab) component Type: Feature Issues that describe a new desired feature and removed A-supervisor labels Jul 24, 2020
@stale
Copy link

stale bot commented Aug 13, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

@stale stale bot added the Stale label Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Focus: CLI Related to the Habitat CLI (core/hab) component Focus:Supervisor Related to the Habitat Supervisor (core/hab-sup) component Stale Type: Feature Issues that describe a new desired feature
Projects
None yet
Development

No branches or pull requests

9 participants