Created
March 21, 2012 16:20
-
-
Save treeder/2149209 to your computer and use it in GitHub Desktop.
Upstart script for Thin
This file contains hidden or 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 "thin" | |
| version "1.0" | |
| author "Travis Reeder" | |
| env LANG=en_US.UTF-8 | |
| env APP_HOME=/home/ubuntu/myapp | |
| respawn | |
| start on runlevel [23] | |
| script | |
| cd $APP_HOME | |
| sudo thin start -e production -p 80 > $APP_HOME/log/thin.log 2>&1 | |
| end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment