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>
This commit is contained in:
Bastian de Byl
2026-01-22 23:11:54 -05:00
parent c2d117bd95
commit 2c7704b6f9
3 changed files with 74 additions and 0 deletions

View File

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