summaryrefslogtreecommitdiff
path: root/src/wayland.socket
diff options
context:
space:
mode:
Diffstat (limited to 'src/wayland.socket')
-rw-r--r--src/wayland.socket15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/wayland.socket b/src/wayland.socket
new file mode 100644
index 0000000..b2633b3
--- /dev/null
+++ b/src/wayland.socket
@@ -0,0 +1,15 @@
+[Unit]
+Description=Wayland Socket
+
+[Socket]
+ListenStream=%t/wayland-0
+
+# The default wayland compositor should make wayland.service a
+# symlink to itself, so that this socket activates the right
+# acutal wayland compositor.
+
+# Best way to achieve that is by adding this to your unit file
+# (i.e. to weston.service):
+#
+# [Install]
+# Alias=wayland.service