Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rzpt opened this issue Jun 18, 2020 · 0 comments
Open

Comments

@rzpt
Copy link
Contributor

rzpt commented Jun 18, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant