flores/haproxyctl — pull request #5 by till (2012-01-24 16:10:18+00:00)
Title: pidfile check

The idea is to test `/var/run/haproxy.pid` if no `pidfile`-directive is found in the `haproxy.cfg`.

I think this is safe to assume since `pidfile` is an optional setting and defaults to `/var/run`. If the pid is not found, it still raises your exception.

Btw – is there a requirement for a minimum version of haproxy?