Hey folks,
Does anyone know how I can change the directory that the pid file is put
in when using the Daemons gem (http://daemons.rubyforge.org/) ?
Thanks!
Mike
Hey folks,
Does anyone know how I can change the directory that the pid file is put
in when using the Daemons gem (http://daemons.rubyforge.org/) ?
Thanks!
Mike
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
/usr/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/pidfile.rb
There you will find the following documentation:
different locations:
one that is supposed to run
:dir_mode)
for :dir_mode)
(:system option for :dir_mode)
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs