
Previously, if a process inside a foot client triggered the OOM killer, systemd would also kill the parent unit, namely the foot server. This is not ideal if a user has a lot of clients attached, and it's usually not the terminal emulator's fault that a process inside it has ended up using all the available memory.
14 lines
299 B
Desktop File
14 lines
299 B
Desktop File
[Install]
|
|
WantedBy=graphical-session.target
|
|
|
|
[Service]
|
|
ExecStart=@foot@/bin/foot --server
|
|
OOMPolicy=continue
|
|
Restart=on-failure
|
|
|
|
[Unit]
|
|
After=graphical-session.target
|
|
Description=Fast, lightweight and minimalistic Wayland terminal emulator.
|
|
Documentation=man:foot(1)
|
|
PartOf=graphical-session.target
|