trinidad/trinidad_init_services — pull request #11 by boxofrad (2012-01-19 11:03:10+00:00)
Title: Fix issue where $USER is undefined in init.

Hi, me again :P

This commit fixes an issue we've been having where the service would not start on boot correctly because the $USER variable was undefined.

As $USER gets interpolated in the command it'd run (notice the -user flag):

```
/usr/bin/jsvc -home /usr/lib/jvm/java-6-openjdk/jre -wait 20 -pidfile /var/run/trinidad.pid -user -procname jsvc- -jvm server .........
```

This only shows up for us when the script is getting run by init on boot.

Hope this helps :)