Files
deploy_home/ansible/roles/podman/templates/zomboid/zomboid-world-reset.path.j2
Bastian de Byl 2c7704b6f9 feat: add zomboid world reset via systemd path unit
Deploy systemd path unit that watches for trigger file from Discord
bot and executes world reset script to delete saves and restart server.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 23:11:54 -05:00

10 lines
219 B
Django/Jinja

[Unit]
Description=Watch for Zomboid world reset trigger
[Path]
PathExists={{ podman_home }}/.local/share/volumes/gregtime/data/zomboid-reset.trigger
Unit=zomboid-world-reset.service
[Install]
WantedBy=default.target