aboutsummaryrefslogtreecommitdiff
path: root/foot-server@.socket
diff options
context:
space:
mode:
authorMax Gautier <mg@max.gautier.name>2022-01-15 16:25:59 +0000
committerMax Gautier <mg@max.gautier.name>2022-02-26 15:09:30 +0000
commit1783f69cbd6291a30b9ab1f4daef9159b5dadd85 (patch)
tree2493bba12439837fc4ac23a30a56e4772290101d /foot-server@.socket
parentMake foot able to receive a socket from its parent (diff)
Adding systemd unit files for socket activation
- Support for multiples concurrent instances, templated on WAYLAND_DISPLAY - Use standard input for the socket file descriptor (inetd style) - Always use the socket provided by systemd with the systemd user service - wayland-instance@.target is intended to be a special target a bit like graphical-session.target.
Diffstat (limited to 'foot-server@.socket')
-rw-r--r--foot-server@.socket5
1 files changed, 5 insertions, 0 deletions
diff --git a/foot-server@.socket b/foot-server@.socket
new file mode 100644
index 00000000..71db51cb
--- /dev/null
+++ b/foot-server@.socket
@@ -0,0 +1,5 @@
+[Socket]
+ListenStream=%t/foot-%i.sock
+
+[Install]
+WantedBy=wayland-instance@.target