Robbin 提供一個 spwan-fcgi 的 shell script,我記錄下來,相信對於 Lighttpd + fastcgi 的使用者很好用。以下是 Robbin 所提供的 script#!/bin/sh DISPATCH_PATH=/yourailsapp/public/dispatch.fcgiSOCKET_PATH=/tmp/lighttpd/socketRAILS_ENV=productionexport RAILS_ENVcase "$1" instart)rm -rf $SOCKET_PATH/javaeye.socket-*for num in 0 1 2 3 4 5 ...
thegiive
搜索本博客
最近加入圈子
存档
最新评论