go-java-launcher icon indicating copy to clipboard operation
go-java-launcher copied to clipboard

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

Open rzpt opened this issue 5 years ago • 0 comments

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 https://github.com/palantir/go-java-launcher/pull/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.

rzpt avatar Jun 18 '20 17:06 rzpt