Deploy systemd timer that writes zomboid container stats to zomboid-stats.json every 30 seconds for gregtime to read. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
4 lines
186 B
Django/Jinja
4 lines
186 B
Django/Jinja
#!/bin/bash
|
|
# Write zomboid container stats to file for gregtime to read
|
|
podman stats --no-stream --format json zomboid 2>/dev/null > {{ gregtime_path }}/data/zomboid-stats.json || true
|