Restore FreeBSD compatibility
Check gitaly binary following @jacobvosmaer-gitlab advice
It also fixes RSS monitoring (like !1257 (closed))
On low memory usage, RSS reported by ps -o rss= may start with some leading spaces, this will fail the int conversion reporting a 0 RSS
Edited by GitLab Release Tools Bot