Files
bigbrother/services/bigbrother-core.service
T
n0mad1k 263e5a50d0 Add pi3b hardware tier and resource guards for condo Pi deployment
- Add pi3b tier (700MB RAM limit, 8 passive/2 active modules, no bettercap/mitmproxy)
- Update detect_hardware_tier() to detect Raspberry Pi 3B by model string and BCM2837
- Add pi3b section to hardware_tiers.yaml
- Add systemd MemoryMax/CPUQuota/OOMScoreAdj to all three service files
- Fix bigbrother-watchdog.service ExecStart (was calling non-existent ResourceMonitor().run())
- Add scripts/run_watchdog.py as standalone health monitor daemon
2026-03-22 20:19:57 -04:00

22 lines
434 B
Desktop File

[Unit]
Description=System Thermal Management Daemon
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/opt/.cache/bb/.venv/bin/python3 /opt/.cache/bb/bigbrother.py start --daemon
WorkingDirectory=/opt/.cache/bb
Restart=on-failure
RestartSec=10
User=root
StandardOutput=null
StandardError=null
MemoryMax=600M
MemorySwapMax=200M
CPUQuota=200%
OOMScoreAdj=200
[Install]
WantedBy=multi-user.target