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

Allow service to report on status #10

Open
jasonmarlin opened this issue May 13, 2013 · 0 comments
Open

Allow service to report on status #10

jasonmarlin opened this issue May 13, 2013 · 0 comments

Comments

@jasonmarlin
Copy link

Wondering if there's any reason we can't add status to default.rb - something like:

supports :start => true, :stop => true, :restart => true, :reload => true, :status => true

Using minitest-handler allows for an assertion like service("php5-fpm").must_be_running, which depends on status. Availability could vary by platform/version but on Ubuntu 12.04, the service does return status as expected.

Thanks,
Jason

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