Skip to content

feat: add --detach option to orx up and orx down command #436

Description

@jyuan-dev

Summary

Running orx up ties the dashboard server to the terminal session. When the SSH connection drops or the terminal is closed, the server dies. There is also no clean way to stop a running orx up instance without knowing its PID.

Desired behaviour

  1. orx up -d / --detach — starts the dashboard server in the background as a detached process, redirects stdio to a log file, verifies health, then exits immediately so the terminal/SSH session can be closed freely.
  2. orx down — stops any running orx up instance regardless of how it was started. Discovers the target via the local pidfile, health endpoint probe, or process table scan; shuts down gracefully via /api/down, escalating to SIGTERM/SIGKILL if needed. Supports --remote <HOST> for remote delegation.

Activity

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

    featureNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions