forked from pool/earlyoom
- Refreshed spec-file via spec-cleaner and manual optimizated. * Reduced to the standard github URL. * Added -p flag to all install commands. - Updated file earlyoom.sysconfig with actual firefox process names. - Updated to 1.7 * Updated file earlyoom.1 (MANPAGE.md -s -t man > earlyoom.1). * https://github.com/rfjakob/earlyoom#changelog * Added -N flag to run a script every time a process is killed. * Added -g flag to kill whole process group. * Removed -i flag, it does not work properly on Linux kernels 5.9+. * Droped ambient capabilities on startup. OBS-URL: https://build.opensuse.org/request/show/964676 OBS-URL: https://build.opensuse.org/package/show/Base:System/earlyoom?expand=0&rev=36
13 lines
828 B
Plaintext
13 lines
828 B
Plaintext
## Path: System/Memory
|
|
## Description: configuration for Early OOM Daemon
|
|
|
|
## Type: string
|
|
## Default: "-r 3 -m 6 -s 10 -n -p --avoid '(^|/)(systemd|Xorg|X|Xwayland|xdm|sddm|kdm|gdm|lightdm|plasmashell|kwin_wayland|kwin_x11|ssh|yast|yast2|y2controlcenter|zypper|rpm)$' --prefer '(^|/)(java|Isolated\ Web\ Co|Web\ Content|WebExtensions|firefox|chrome|opera|ffmpeg|vlc|akregator|thumbnail.so)$'"
|
|
## Config: earlyoom
|
|
#
|
|
# Command-line options to pass to earlyoom
|
|
#
|
|
# see man(1) earlyoom
|
|
#
|
|
EARLYOOM_ARGS="-r 0 -m 6 -s 10 -n -p --avoid '(^|/)(systemd|Xorg|X|Xwayland|xdm|sddm|kdm|gdm|lightdm|plasmashell|kwin_wayland|kwin_x11|ssh|yast|yast2|y2controlcenter|zypper|rpm|dnf)$' --prefer '(^|/)(java|Isolated\ Web\ Co|Web\ Content|WebExtensions|firefox|chrome|opera|falkon|ffmpeg|vlc|mpv|akregator|thumbnail.so)$'"
|