Thursday, April 4, 2013

Puma and rails to auto start on Linux rc.local

su ubuntu -c 'source /etc/profile && cd /home/ubuntu/downloads/redmine-2.1/ && NEWRELIC_ENABLE=true rails s Puma -e production -p 8080 -d'