Fixed daemonization for Ruby 1.9 compatibility #90

Merged
merged 1 commit into from Dec 28, 2012

2 participants

@gluemonkey

Ruby 1.9 has a handy Process.daemon method that doesn't seem to cause problems creating the PID file.

@ileitch
Owner

What problems were you having?

@gluemonkey

ruby-1.9.3-p327

Code execution would stop at line 131, so self.write_pid_file would never be reached.

@ileitch ileitch merged commit de06272 into ileitch:master Dec 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment