Skip to content

scan_name either works incorrectly or not properly documented #98

@ichesnokov

Description

@ichesnokov

The documentation for scan_name is as follows:

This provides an extra check to see if the program is running. Normally we only check that the PID listed in the PID file is running. When given a regular expression, we will also match the name of the program as shown in ps.

As it is in the code, when scan_name is specified, we don't provide extra check - instead name is the only check that tells if the process is running or not.

Something should be changed - either the behavior (preferred, I guess) or the documentation.

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