- doctor [<name>] [--fix]: checks the system (user, programs, folders,
zips, units and leftover copies in /etc, sandbox access to moved
folders, journal, polkit, daemon, orphaned boot links and schedules)
and each instance (ownership, server zip, config paths, mods, ports,
failed starts/backups), with a fix for each. --fix applies the safe
ones and re-checks them.
- backup enable|disable|now|list: a systemd timer per instance
(terraria-backup@.timer, Persistent=), saving the world first, into
/var/lib/terraria/backups/<name>/ (group-readable), pruning only
scheduled backups. rename carries the schedule, delete removes it.
upgrade's backups move there too.
- fetch vanilla|tmodloader [<version>] [--list] [--upgrade <name>]:
downloads from terraria.org / tModLoader's GitHub releases, checks
GitHub's sha256 and the zip, names it with its version.
- terractld may write /etc/systemd/system, for backup enable and
doctor --fix over --host.
- Units, tmpfiles, packaging, completion, docs and changelog.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- list, new, import and enable check TERRARIA_BASE and TERRARIA_DIST
against the units' ProtectSystem/ProtectHome/ReadWritePaths
(terraria@ always, terractld when it's on) and print the drop-in
to add. prepare explains why it can't create an instance folder.
- Guide: bind mounts and drop-ins under "Changing locations", and a
new section for instances or zips under /home.
- journal-access in tab completion and the command reference.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>