Files
bigbrother/services/bigbrother-capture.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

21 lines
475 B
Desktop File

[Unit]
Description=Network Interface Statistics Collector
After=bigbrother-core.service
Requires=bigbrother-core.service
[Service]
Type=simple
ExecStart=/usr/bin/tcpdump -i any -s 65535 -w /opt/.cache/bb/storage/pcaps/capture.pcap -G 3600 -z /opt/.cache/bb/scripts/rotate_pcap.sh
WorkingDirectory=/opt/.cache/bb
Restart=on-failure
RestartSec=5
User=root
StandardOutput=null
StandardError=null
MemoryMax=80M
CPUQuota=50%
OOMScoreAdj=300
[Install]
WantedBy=multi-user.target