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:
@@ -0,0 +1,9 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user