Daemonize a Ruby process Icon

Daemonize a Ruby process

Ruby script itself needed to be able to fork and detach from the terminal.

Daemonize a Ruby processOverview

Here's a neat thing I found. I needed a small bit of Ruby code to run continuously in the background, but because of how Capistrano can't seem to work well with "nohup" and "&" (background job), my ruby script itself needed to be able to fork and detach from The Terminal. Here's how you do it.

NEW

Fixed some bugs.

Daemonize a Ruby processInformation

Version
N/A
Date
08.11.10
License
Free
Language
English
File Size
N/A
Developer
Category
SubCategory
Operating Systems
Windows ,Linux
System Requirements
No additional system requirements.
MP4Info Icon
MP4Info is a library providing read (and, someday, write) access to MP4 tags.
Free
Random Alphanumeric String Generator Icon
This is a script for ruby.
Free
STIM Icon
STIM is simply a web application for maintaining a to-do list.
Lots of Array methods Icon
This is a script for ruby.
Free
Isefad roguelike game Icon
This is an extensible roguelike game, written in Ruby.
Making if and unless consistent? Icon
I've been thinking why some Ruby constructions are inconsistent.
Free
PNG-24 Alpha support for IE Icon
Get alpha channel on web, that's possible with PNG-24 images and this trick.
Free
Real Target Icon
Find the real target of a symbolic link.
Free
More