Skip to content

v0.51.9

Choose a tag to compare

@dmellok dmellok released this 20 Jun 01:43

Added

  • scripts/install-systemd.sh: optional follow-up to install.sh that 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 ExecStart takes 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 from run.sh, else 8765), TESSERAE_SERVICE_NAME (default tesserae; rename for parallel installs), TESSERAE_USER, NONINTERACTIVE=1.
  • install.sh now points Linux users at the follow-up in its Done message, and docs/install/server.md has a "Run as a service (Linux)" section with the day-to-day systemctl / journalctl commands plus the uninstall recipe.

Usage

cd ~/tesserae
./scripts/install-systemd.sh

Then:

sudo systemctl status tesserae       # is it running?
sudo systemctl restart tesserae      # bounce after an upgrade
sudo journalctl -u tesserae -f       # tail the logs