foot/foot-server@.service.in
Andrea Pappacoda e2d67af8ed
fix(systemd): always use socket activation
foot --server supports socket activation when managed by systemd or s6,
so remove the Install section from the .service unit to make systemd
always use socket activation for the service.

Also mention in the foot(1) manpage how to easily enable the
systemd-managed foot server.

See <https://codeberg.org/dnkl/foot/pulls/1110#issuecomment-661389>
2022-10-28 21:47:22 +02:00

10 lines
261 B
SYSTEMD

[Service]
ExecStart=@bindir@/foot --server=3
Environment=WAYLAND_DISPLAY=%i
UnsetEnvironment=LISTEN_PID LISTEN_FDS LISTEN_FDNAMES
NonBlocking=true
[Unit]
Requires=%N.socket
Description=Foot terminal server mode for WAYLAND_DISPLAY=%i
Documentation=man:foot(1)