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

feature request: notify systemd #4619

Open
danielsdeleo opened this issue Feb 15, 2018 · 4 comments
Open

feature request: notify systemd #4619

danielsdeleo opened this issue Feb 15, 2018 · 4 comments
Labels
Focus:Launcher Related to the Habitat Launcher (core/hab-launcher) component Focus:Supervisor Related to the Habitat Supervisor (core/hab-sup) component Stale Type:Additional Discussion
Milestone

Comments

@danielsdeleo
Copy link

danielsdeleo commented Feb 15, 2018

Hi,

I'm on a team at Chef that's responsible for configuring systems to run some habitat services on "bare metal," so we're configuring the system to run the hab supervisor via systemd. I recently encountered a problem where I'd installed hab to /usr/local/bin but set the path to hab as /bin/hab in my systemd unit file. For "systemd reasons" this resulted in systemctl start returning zero even though I was in a crash loop of attempting to start habitat with the wrong path.

I fixed the issue with my own code, but it would be nice if the hab supervisor could play nice with systemd by implementing the sd_notify call. Then I could set the unit type to "notify" which would make systemd behave as expected when the supervisor doesn't start (cf. https://www.freedesktop.org/software/systemd/man/systemd.service.html)

@baumanj
Copy link
Contributor

baumanj commented Jun 26, 2018

Confirmed valid on v0.57

@baumanj baumanj removed their assignment Jun 26, 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
@stevendanna
Copy link
Contributor

I think this would still be a nice feature to have stalebot

@stale stale bot removed the Stale label May 20, 2020
@christophermaier christophermaier added Focus:Supervisor Related to the Habitat Supervisor (core/hab-sup) component Focus:Launcher Related to the Habitat Launcher (core/hab-launcher) component 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:Launcher Related to the Habitat Launcher (core/hab-launcher) component Focus:Supervisor Related to the Habitat Supervisor (core/hab-sup) component Stale Type:Additional Discussion
Projects
None yet
Development

No branches or pull requests

6 participants