go-java-launcher
go-java-launcher copied to clipboard
go-init should respect the cmdline when checking if the process is running
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.