feature request: notify systemd #4619
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
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 tohab
as/bin/hab
in my systemd unit file. For "systemd reasons" this resulted insystemctl 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)
The text was updated successfully, but these errors were encountered: