mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-28 06:46:38 -04:00
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>
10 lines
261 B
SYSTEMD
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)
|