Skip to content

xrt: prevent systemd from starting Monado quickly

Sefa Eyeoglu requested to merge Scrumplex/monado:fix/improve-systemd-socket into main

If an OpenXR client starts Monado using socket activation, but Monado crashes during its startup, systemd will try to start the service for each subsequent IPC message, which causes both units to enter a failed state.

By enabling FlushPending, systemd will flush pending messages and close the connection to the IPC client, preventing restarts in quick succession.

Merge request reports