telmich/cdist — pull request #84 by jdguffey (2012-06-21 15:31:28+00:00)
Title: Daemon state management

Type manages execution state of daemons.
Didn't use __process because pgrep -f -x is not valid in FreeBSD and always want to use default daemon init script rather than defining the path to such script every time the type is used in a manifest.
Type should be able to work on Linux with very minor modifications, if any -- looks in /etc/rc.d and /usr/local/etc/rc.d for SysV init scripts to start/stop/status daemons. Modifying script search locations is trivial.