find the most recent rvm environment or use RVM_VERSION environment variable
use octal umask for chmod
use production environment by default
fixes writing of pid files
check status of all processes
remove lsb dependencies