granian icon indicating copy to clipboard operation
granian copied to clipboard

Systemd notify protocol

Open vooon opened this issue 1 year ago • 2 comments

It might be nice to support systemd's Type=notify option.

vooon avatar Aug 16 '24 10:08 vooon

Can you expand on the use case for this? How do you expect to use SystemD notify with Granian or, in other words, which features of SystemD notify will improve current usage of Granian with SystemD?

gi0baro avatar Aug 16 '24 11:08 gi0baro

That may improve the case, when other unit depends on some api server to be ready (on the same node).

With Type=simple unit will be active as soon as it starts granian.

With Type=notify you can signal readiness after you load app and start listening.

vooon avatar Aug 18 '24 13:08 vooon