Cotal TypeScript packages
    Preparing search index...

    Function commandIsCotalDelivery

    • Does this command line belong to a Cotal delivery daemon?

      Same rule and same direction as commandIsCotalSupervisor, one component over: the test is the deliver, hidden __daemon-deliver or hidden __service-delivery ARGV TOKEN, which is the daemon's own entry and is present however it was started — cotal up's detached re-exec, a container entrypoint, systemd, or an operator typing cotal deliver --space …. A token, not a substring, so delivery-thing and a --creds .../delivery.creds path are not mistaken for the daemon.

      IT FAILS TOWARD "OURS" for the reason the manager's does: a live pid whose argv cannot be read stays trusted. Only affirmative evidence that the live process is something else may downgrade a record.

      Parameters

      • command: string

      Returns boolean