basementhud/overlay/etc/systemd/user
Dustin e055500476 Drop Playwright, run Firefox Marionette
Running Voonex (Python), Playwight (Node.js), and Firefox simultaneously
takes way too much memory.  Using the NBD swap prevents hard lockups and
crashes in OOM situations, but it makes the machine *incredibly* slow.
To avoid needing to push anything into the network swap, I want to try
and reduce the memory footprint as much as possible.  To that end, we
will go back to running just Firefox.  To control it, we will use the
Marionette protocol.

Firefox only allows control via Marionette over the loopback interface.
This is hard-coded in the Marionette server, and cannot be changed at
runtime.  To allow a remote machine (running Voonex) to control it, we
need to expose the socket to the network.  Fortunately, *systemd*
includes a tool for exactly this purpose: `systemd-socket-proxyd`.
2022-04-05 17:58:19 -05:00
..
firefox-marionette.service Drop Playwright, run Firefox Marionette 2022-04-05 17:58:19 -05:00
firefox-marionette.socket Drop Playwright, run Firefox Marionette 2022-04-05 17:58:19 -05:00
firefox.service Drop Playwright, run Firefox Marionette 2022-04-05 17:58:19 -05:00