Skip to content

go-init should respect the cmdline when checking if the process is running #131

Description

@rzpt

What happened?

go-init does not respect the cmdline when checking for if a process is running. https://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptfunc.html
A really easy way to confirm this is

echo $$ > var/run/foo.pid
service/bin/init.sh status

I fixed one case in #130 when the pid didn't match a process. But that is not enough.

What did you want to happen?

go-init should follow the sls-spec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions