saltstack/salt — pull request #2335 by jcollie (2012-10-24 13:56:40+00:00)
Title: Fix systemd service status.

Under systemd, not every service has a "Main PID" so using that to
determine whether a service was running failed for a number of useful
cases, especially services that use systemd's init script
compatibility layer.

Instead, use the 'systemctl is-active' command to determine the status
of a service.