Name of service socket?
Right now, it's /tmp/monado_comp_ipc
When I was working on socket activation, knowing that it would be per-user, I looked at how pulseaudio does their user daemon (in /usr/lib/systemd/user/pulseaudio.socket
and /usr/lib/systemd/user/pulseaudio.service
). While there are a ton of domain sockets in /tmp
, pulseaudio.socket specifies:
[Socket]
Priority=6
Backlog=5
ListenStream=%t/pulse/native
As you can see, the socket here is named with %t, which is defined as "Runtime directory root" - /run
for system services, and "the path "$XDG_RUNTIME_DIR" resolves to (for user managers)" (found on this page. Should we be doing that too?