Manage nginx with pid instead of process handle

On Bash on Centos 6, proc_open for nginx gets me:

  hhvm ==> nginx

On Dash on Ubuntu 14.04, I get:

  hhvm ==> sh ==> nginx

... so, the process handle I have points to sh instead. Sending USR1 there
doesn't work so well :p