|
|
|
|
|
by tyingq
3335 days ago
|
|
Haproxy supports a directive called pidfile that causes it to write it's pid to that file at startup. If you still want grep, without it matching itself, an old trick is egrep '[h]aproxy' or similar. Egrep, as opposed to pgrep, is more widely installed on non Linux systems like osx. |
|