Skip to content

codecast.sh/install starts and re-enables the full daemon on a messaging_only machine #469

Done

Description

@stevenpollack

What happens. On Linux, with cast config messaging_only true set and ~/.codecast kept (cast uninstall --keep-config), re-running curl -fsSL codecast.sh/install | sh prints "Existing login found. Starting daemon..." and then "Daemon started". It also re-enables codecast.service under systemd. Afterwards codecast _daemon is running and systemctl --user is-enabled codecast.service reports enabled.

Expected. The codecast-messaging README (step 2) says messaging-only means "no cast command starts the full codecast daemon". It also tells a machine that already ran full codecast to run cast uninstall --keep-config and then "Install cast again", which is the path that hits this.

Why it matters. The daemon and the relay end up running on the same machine, which #102 says must never both deliver one message. The daemon can also auto-resume Paseo sessions into a tmux copy, as in #57.

Where. install.sh around lines 303–305: when a login exists it runs codecast start without checking messaging_only. Either install.sh or cast start should check the setting, and the installer shouldn't write the systemd unit when it's set.

Workaround. cast stop && systemctl --user disable --now codecast.service.

Version: cast v1.1.357, linux-x64.

Activity

  1. ashot commented on Dec 5, 2026

    @ashot
    Contributor

    Thanks, reproduced it. Nothing on the cast start path checked messaging_only, and the installer runs cast start on a signed-in machine. #470 makes cast start (and cast restart) print why and start nothing on a messaging-only machine, and stops it from writing the systemd or launchd unit. It ships with the next CLI release. Your workaround (cast stop && systemctl --user disable --now codecast.service) is the right cleanup for a machine that already hit this.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions