mirror of
https://github.com/nix-community/home-manager
synced 2024-12-05 01:19:46 +01:00
838d40d61a
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.
13 lines
299 B
Desktop File
13 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
|