trinidad/trinidad_init_services — pull request #29 by jlbfalcao (2012-11-12 19:31:38+00:00)
Title: Fixing init blank space bug.

Sometimes "ps $PID | egrep "^$PID" doesn't works; check this:

PID TTY STAT TIME COMMAND
7245 ? Ss 0:00 jsvc-itsm -home

There's a blank space before "7245"; I changed to "ps -p $PID" and it's works for me.