Supreeeme / xwayland-satellite

Xwayland outside your Wayland
Mozilla Public License 2.0
210 stars 10 forks source link

Systemd notification #37

Closed my4ng closed 4 months ago

my4ng commented 4 months ago

Currently when xwayland-satellite is run from a systemd service, there is no method to notify that initialisation has been completed for services that depend on it. Service types such as simple and exec will consider the service started right after forking (and execve) and dependent services may be started prematurely.

This PR adds a systemd feature that notifies systemd (with the notify type) when the setup is complete the dependent services may be started.

Supreeeme commented 4 months ago

Nice, I meant to do this at some point but never got around to it. Thanks!