saltstack/salt — pull request #2394 by rrada (2012-10-30 12:31:52+00:00)
Title: debian_service.status - more debian way for getting status of service

Here is a change to modules/debian_service.py to handle a service status in a more Debian way.
It uses a "service" command, just like the start/stop methods of the same module.

* the 'sig' argument is unused, but required for a consistency in the state system (like in modules/systemd.py)
* init scripts must have a "status" parameter