<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xdg_pipe_menu/config/vm.args, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://projects.languidnights.com/cgit/xdg_pipe_menu/atom?h=main</id>
<link rel='self' href='https://projects.languidnights.com/cgit/xdg_pipe_menu/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://projects.languidnights.com/cgit/xdg_pipe_menu/'/>
<updated>2026-11-01T05:17:43Z</updated>
<entry>
<title>Build a relx release for running as a systemd service</title>
<updated>2026-11-01T05:17:43Z</updated>
<author>
<name>Christopher R. Nelson</name>
<email>christopher.nelson@languidnights.com</email>
</author>
<published>2026-11-01T05:17:43Z</published>
<link rel='alternate' type='text/html' href='https://projects.languidnights.com/cgit/xdg_pipe_menu/commit/?id=0b89b6eb8a0d8d7d69d00ce66a87c9e1de66915a'/>
<id>urn:sha1:0b89b6eb8a0d8d7d69d00ce66a87c9e1de66915a</id>
<content type='text'>
Running the daemon via `rebar3 shell` under systemd exits immediately:
stdin is /dev/null, so the interactive shell reads EOF and terminates
the VM. Add a relx release (with a prod profile that bundles ERTS) and
document running it with `bin/xdg_pipe_menu foreground` instead.

Ship a custom vm.args rather than relx's default, which sets a fixed,
publicly-known cookie while distribution listens on all interfaces.
The node now uses ~/.erlang.cookie, binds distribution to 127.0.0.1,
and is named xdg_pipe_menu@localhost so the release script's ping /
remote_console / stop can reach it even where the hostname resolves
to 127.0.1.1.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
