diff options
| author | Max Gautier <mg@max.gautier.name> | 2022-01-15 16:25:59 +0000 |
|---|---|---|
| committer | Max Gautier <mg@max.gautier.name> | 2022-02-26 15:09:30 +0000 |
| commit | 1783f69cbd6291a30b9ab1f4daef9159b5dadd85 (patch) | |
| tree | 2493bba12439837fc4ac23a30a56e4772290101d /foot-server@.service.in | |
| parent | Make 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@.service.in')
| -rw-r--r-- | foot-server@.service.in | 13 |
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 |
