Mike Neumegen
Mike Neumegen

Reputation: 2486

Managing an EventMachine Process with Capistrano

I'm trying to deploy an EventMachine application with Capistrano. Deploying the code looks fairly easily it's how to handle the running process I'm struggling with. I want Capistrano to restart the process if it's already running, otherwise start the process.

Upvotes: 0

Views: 318

Answers (1)

Mike Neumegen
Mike Neumegen

Reputation: 2486

I came across a gem called daemon-kit which easily turns a program into a daemon and handles the starting/stopping. It even has recipes for Capistrano!

Upvotes: 1

Related Questions