Exception throw is pretty self explanatory. The file mode change is important because creating a deamon with call or new has no script file so it has to use the dir option for pidfile location. The default is to use current directory since options[:dir] defaults to '' in application_group and File.expand_path '' returns current directory.
Exception throw is pretty self explanatory. The file mode change is important because creating a deamon with call or new has no script file so it has to use the dir option for pidfile location. The default is to use current directory since options[:dir] defaults to '' in application_group and File.expand_path '' returns current directory.