8000 Deck dies when you close the terminal it was started in · Issue #29 · simon-inkie/inkie-deck · GitHub
[go: up one dir, main page]

Skip to content

Deck dies when you close the terminal it was started in #29

Closed

Description

@simon-inkie

Problem

INSTALL.md starts node scripts/start-production.mjs in the foreground; closing the window stops Deck. Started in tmux instead, Deck and its agents survived every WSL window closing, with no traffic, for over ten minutes. Nothing restarts them after a reboot.

Evidence

Reproduced in test; confirmed by direct observation of the tmux-detached case.

Fix

Document running Deck in a detached tmux session, and ship an example systemd user unit (deck.service, Restart=always, EnvironmentFile=.env.production, which INSTALL.md already mentions) plus the loginctl enable-linger step needed for a user unit to survive logout. Reboot auto-start is a separate, larger requirement tracked elsewhere.

Acceptance criteria

  • INSTALL.md's "start Deck" section offers a "keep it running" option.
  • The example unit is in the repo and starts Deck on an Ubuntu 24.04 box with systemctl --user start deck.

From the 2026-09-27 Windows/WSL install test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    installInstall / setup flowpriority:P2Needs a manual workaround

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0