monado/src/xrt/targets/service/monado.in.socket
Christoph Haag fd6bd0f592 ipc: Use xdg runtime directory for socket
u_file_get_runtime_dir falls back to /tmp if $XDG_RUNTIME_DIR is not set.

ipc: %t/monado_comp_ipc socket for systemd socket activation
2021-04-15 21:42:06 +00:00

15 lines
303 B
SYSTEMD

# SPDX-License-Identifier: BSL-1.0
# SPDX-FileCopyrightText: 2020, Collabora, Ltd.
[Unit]
Description=Monado XR service module connection socket @extra_desc@
ConditionUser=!root
Conflicts=@conflicts@.socket
[Socket]
ListenStream=%t/monado_comp_ipc
RemoveOnStop=true
[Install]
WantedBy=sockets.target