mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-28 06:46:38 -04:00
- add ConditionEnvironment so that it only runs if WAYLAND_DISPLAY environmental variable exists. - replace wayland-instance@.target to the generic graphical-session.target. Not sure about this btw but I feel like wayland-instance@.target is not needed. - remove `Requires=%N.socket` in [Unit]. Documentations says "No implicit WantedBy= or RequiredBy= dependency from the socket to the service is added. This means that the service may be started without the socket, in which case it must be able to open sockets by itself. To prevent this, an explicit Requires= dependency may be added." - add `Also=%N.socket` in [Install]. - replace wayland-instance@.target to generic sockets.target in foot-server@.socket.
8 lines
112 B
SYSTEMD
8 lines
112 B
SYSTEMD
[Unit]
|
|
Description=Foot server socket
|
|
|
|
[Socket]
|
|
ListenStream=%t/foot-%i.sock
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|