Replace with B2 archive contents

This commit is contained in:
Ryan T. Murphy
2026-01-22 18:46:43 -05:00
commit f687aa8f23
12 changed files with 805 additions and 0 deletions

2
config/cpu-killer.conf Normal file
View File

@@ -0,0 +1,2 @@
check system $HOST
if cpu usage > 95% for 5 cycles then exec "/usr/local/bin/kill-top-cpu.sh"

21
config/earlyoom.conf Normal file
View File

@@ -0,0 +1,21 @@
# Default settings for earlyoom. This file is sourced by /bin/sh from
# /etc/init.d/earlyoom or by systemd from earlyoom.service.
# Options to pass to earlyoom
EARLYOOM_ARGS="-m 5 -s 5 --avoid '(^|/)(init|systemd|sshd)$' -r 60"
# Examples:
# Print memory report every second instead of every minute
# EARLYOOM_ARGS="-r 1"
# Available minimum memory 5%
# EARLYOOM_ARGS="-m 5"
# Available minimum memory 15% and free minimum swap 5%
# EARLYOOM_ARGS="-m 15 -s 5"
# Avoid killing processes whose name matches this regexp
# EARLYOOM_ARGS="--avoid '(^|/)(init|X|sshd|firefox)$'"
# See more at `earlyoom -h'

View File

@@ -0,0 +1,3 @@
check program orphan-claude-killer with path "/usr/local/bin/kill-orphan-claude.sh"
every 15 cycles
if status != 0 then alert