v0.51.9
Added
scripts/install-systemd.sh: optional follow-up toinstall.shthat wires Tesserae as a systemd service on Linux so it survives reboots and restarts on crash. Refuses on macOS / non-systemd; on Linux it generates the unit from the install dir + port + current user,sudo-installs to/etc/systemd/system/tesserae.service,daemon-reloads,enables it (auto-start on reboot), and starts it.- Idempotent: re-running prompts before overwriting an existing unit and stops the running service first so the new
ExecStarttakes effect cleanly. Verifies the service stayed up after start and dumps the last 30 journal lines if it didn't. - Env-var overrides for unattended installs:
TESSERAE_DIR(default~/tesserae),TESSERAE_PORT(default scraped fromrun.sh, else 8765),TESSERAE_SERVICE_NAME(defaulttesserae; rename for parallel installs),TESSERAE_USER,NONINTERACTIVE=1. install.shnow points Linux users at the follow-up in its Done message, anddocs/install/server.mdhas a "Run as a service (Linux)" section with the day-to-daysystemctl/journalctlcommands plus the uninstall recipe.
Usage
cd ~/tesserae
./scripts/install-systemd.shThen:
sudo systemctl status tesserae # is it running?
sudo systemctl restart tesserae # bounce after an upgrade
sudo journalctl -u tesserae -f # tail the logs