Deamons.rb: changing the pid directory
Re: Deamons.rb: changing the pid directory
Look in the rdoc documentation for Daemons::Pidfile. If daemons is
installed as a gem, then
gem server --daemon
and point web browser at http://localhost:8808/
Or just read the comments in the source, which will probably be
installed somewhere like
There you will find the following documentation:
# === Where are the Pid-Files stored?
# Daemons is configurable to store the Pid-Files relative to three
# 1. in a directory relative to the directory where the script (the
one that is supposed to run
# as a daemon) resides (<tt>:script</tt> option for
# 2. in a directory given by <tt>:dir</tt> (<tt>:normal</tt> option
# 3. in the preconfigured directory <tt>/var/run</tt>
(<tt>:system</tt> option for <tt>:dir_mode</tt>)
Posted via http://www.ruby-forum.com/.
|All times are GMT. The time now is 10:03 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.