-
Notifications
You must be signed in to change notification settings - Fork 3
Add initial systemd lifecycle notification support #23
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
Conversation
d4c500c to
72833f5
Compare
6432e58 to
72833f5
Compare
With the merge of OpenVoxProject/trapperkeeper#23, we can switch to notify. Then the service will notify systemd when the service is actually started.
With the merge of OpenVoxProject/trapperkeeper#23, we can switch to notify. Then the service will notify systemd when the service is actually started.
Code adapted with permission of the original author (this author) from nrepl socket.clj. cf. https://www.freedesktop.org/software/systemd/man/sd_notify.html
|
This is now working properly. I did a build with: Trapperkeeper will then check if the environment variable To actuallly use this feature, we will have to update ezbake to switch to |
|
While I haven't reviewed the changes carefully, I did notice that the new version will now suppress a send error (via |
With the merge of OpenVoxProject/trapperkeeper#23, we can switch to notify. Then the service will notify systemd when the service is actually started.
With the merge of OpenVoxProject/trapperkeeper#23, we can switch to notify. Then the service will notify systemd when the service is actually started.
With the merge of OpenVoxProject/trapperkeeper#23, we can switch to notify. Then the service will notify systemd when the service is actually started.
With the merge of OpenVoxProject/trapperkeeper#23, we can switch to notify. Then the service will notify systemd when the service is actually started.
With the merge of OpenVoxProject/trapperkeeper#23, we can switch to notify. Then the service will notify systemd when the service is actually started.
With the merge of OpenVoxProject/trapperkeeper#23, we can switch to notify. Then the service will notify systemd when the service is actually started.
Code adapted with permission of the original author (this author) from
nrepl socket.clj.
cf. https://www.freedesktop.org/software/systemd/man/sd_notify.html
This is a refactored version of #20