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

Query service state #74

Open
astax-t opened this issue Sep 20, 2016 · 5 comments
Open

Query service state #74

astax-t opened this issue Sep 20, 2016 · 5 comments

Comments

@astax-t
Copy link

astax-t commented Sep 20, 2016

Would be really nice to have a way to query service state - at least whether it's started or not started. I know though that Windows offers several more states (starting/stopping/paused), but I guess most of them are not applicable to other platforms, so at least basic yes/no should help.

@kardianos
Copy link
Owner

That would be great. +1 on the feature.

@astax-t
Copy link
Author

astax-t commented Sep 21, 2016

Upon checking the forks, I can see that someone has already started implementing this feature recently - https://github.com/NetWatcher/service , although it's currently done only for Windows and Darwin

@fabiofcferreira
Copy link

Any updates? @kardianos

@vvarp
Copy link

vvarp commented Oct 25, 2017

GitLab uses forked version of service package that supports querying for status in their CI runner https://github.com/ayufan/golang-kardianos-service

@kardianos
Copy link
Owner

Okay, open a PR.

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

No branches or pull requests

4 participants