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>
9 lines
171 B
Django/Jinja
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
|