aboutsummaryrefslogtreecommitdiff
path: root/foot-server@.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'foot-server@.service.in')
-rw-r--r--foot-server@.service.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/foot-server@.service.in b/foot-server@.service.in
new file mode 100644
index 00000000..81c13bb4
--- /dev/null
+++ b/foot-server@.service.in
@@ -0,0 +1,13 @@
+[Service]
+ExecStart=@bindir@/foot --server=0
+Environment=WAYLAND_DISPLAY=%i
+NonBlocking=true
+StandardInput=socket
+
+[Unit]
+Requires=%N.socket
+Description=Foot terminal server mode for WAYLAND_DISPLAY=%i
+Documentation=man:foot(1)
+
+[Install]
+WantedBy=wayland-instance@.target