If sys-usb boots up before the user has logged in, qubes-input-sender-mouse@.service fails permanently. This patch makes the service restart on failure at a reasonable time interval. diff --git a/qubes-rpc/qubes-input-sender-mouse@.service b/qubes-rpc/qubes-input-sender-mouse@.service
index 309f60f..18fbb72 100644
--- a/qubes-rpc/qubes-input-sender-mouse@.service
+++ b/qubes-rpc/qubes-input-sender-mouse@.service
@@ -6,3 +6,5 @@ After=qubes-qrexec-agent.service
 Environment=TARGET_DOMAIN=dom0
 EnvironmentFile=-/etc/qubes/input-proxy-target
ExecStart=/usr/bin/qubes-input-sender qubes.InputMouse /dev/input/%i "$TARGET_DOMAIN"
+Restart=always
+RestartSec=1

--
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/2ad16ac416313ecda5c738bef51eba26%40tough.email.

Reply via email to