Skip to content

lsof is not at /usr/sbin on linux #117

@c0bra

Description

@c0bra

The location of lsof is hardcoded at /usr/sbin/lsof but on Ubuntu, for me it's at /usr/bin/lsof.

Additionally, using lsof to check for the running opencode port will not work if the opencode server is running as another user and the opencode-pilot's user cannot see the command listening on the port.

There's already server_port in the config.yml. Why is it using lsof checks to find the opencode server?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions