From 379eca833c2fe7ddc017fdd2164a7cd3d3b6ed15 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Tue, 13 Dec 2022 11:55:31 -0600 Subject: [PATCH] fx-marionette: Exit after idle By default, `systemd-socket-proxyd` keeps running after the remote disconnects. This prevents the HUD control from reconnecting if e.g. Firefox crashes. --- overlay/etc/systemd/user/firefox-marionette.service | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/overlay/etc/systemd/user/firefox-marionette.service b/overlay/etc/systemd/user/firefox-marionette.service index f83ac13..b998f3a 100644 --- a/overlay/etc/systemd/user/firefox-marionette.service +++ b/overlay/etc/systemd/user/firefox-marionette.service @@ -4,4 +4,7 @@ Requires=firefox-marionette.socket Requires=firefox.service [Service] -ExecStart=/usr/lib/systemd/systemd-socket-proxyd 127.0.0.1:2828 +ExecStart=/usr/lib/systemd/systemd-socket-proxyd \ + --connections-max=1 \ + --exit-idle-time=10s \ + 127.0.0.1:2828