Files
deploy_home/ansible/roles/podman/templates/zomboid/zomboid-world-reset.service.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

9 lines
171 B
Django/Jinja

[Unit]
Description=Zomboid World Reset Service
[Service]
Type=oneshot
ExecStart={{ podman_home }}/bin/zomboid-world-reset.sh
StandardOutput=journal
StandardError=journal