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
#!/bin/sh | |
set -e | |
APP=$1 | |
APP_PATH="/srv/${APP}/current" | |
RAILS_ENV=$2 | |
UNICORN_CONFIG="/etc/unicorn/${APP}.rb" | |
UNICORN_PID_FILE="/tmp/unicorn.${APP}.pid" |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- using Kris Kowal's Q library, based on CommonJS Promises/B | |
https://github.com/kriskowal/q | |
http://wiki.commonjs.org/wiki/Promises/B | |
Code based on ideas by Mark S. Miller and Dave Herman. The animation example | |
was taken from <http://wiki.ecmascript.org/doku.php?id=strawman:deferred_functions> | |
--> |
NewerOlder