1
시작시 init.d 스크립트의 PATH 문제
우분투 12.04LTS에서 유니콘 인스턴스를 시작하는 간단한 스크립트가 있습니다. #!/bin/sh case "$1" in start) echo "starting" cd /path && bundle exec unicorn -c /path/config/unicorn.rb -D -E production ;; stop) echo "Stopping Unicorn Instances" kill `cat /tmp/unicorn.pid` ;; restart) echo "sending USR2 to all unicorns" kill -s USR2 `cat /tmp/unicorn.pid` ;; esac …