Last active
August 11, 2016 16:42
-
-
Save mustmodify/143adbfe32dc8befcfa2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
export HOME=/home/jw | |
export RAILS_ENV=development | |
source /usr/local/share/chruby/chruby.sh | |
source /usr/local/share/chruby/auto.sh | |
# there is a .ruby-version under /projects/client/project but I've tried setting it here, too. | |
cd /projects/client/project && bundle exec puma -C /projects/client/project/config/puma.development.config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "ProjectName - Development" | |
start on (local-filesystems and net-device-up IFACE=lo and runlevel [2345]) | |
stop on (runlevel [!2345]) | |
respawn | |
respawn limit 3 30 | |
script | |
exec /bin/bash << EOT | |
/projects/client/project-http | |
EOT | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment