开发者

Run multiple tasks on production server during boot up

EDIT

Tried install God, but get The server is not available (or you do not have permissions to access it) on my dev machine.

really, only want to run 2 rake commands on passenger startup, is there an easier way?


Looking for something to help me get all my rake tasks organized and run during system boot / reboot on production server.

I have a very vanilla server on linode.com. Ubuntu 10.04, rails 3.0.8, rub开发者_如何学Pythony 1.9.2p180 running nginx and redis.

Nginx and redis start automatically, but have to run rake tasks manually to start workers.

Any gems or scripts that can help me do this and send them to the background?


For the God issue, check that there is no

w.uid = "xxx"

in your config file where xxx is a nonexistent user.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜