Replace hardcoded paths with variables
Allow assigning local default values via /etc/default or /etc/sysconfig.
Use sudo -i switch (simulate initial login) incorporates RVM environment when using RVM. Also chdir into the proper directory since this switch implies using the user home directory.
Allow assigning termination signal via /etc/default or /etc/sysconfig.
Give deployment user write permission to PID_FILE
Merge pull request #1413 from opengovernment/feature/generalized-start-script

Feature/generalized start script