cookbook-php-fpm
cookbook-php-fpm copied to clipboard
Allow service to report on status
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