To edit pages or tickets please login with username/password: aaf/aaf

Changeset 303

Show
Ignore:
Timestamp:
02/02/08 12:34:59 (8 months ago)
Author:
jk
Message:

#195

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plugin/acts_as_ferret/lib/unix_daemon.rb

    r258 r303  
    5050      # create the PID file and install an at_exit handler 
    5151      def write_pid_file 
     52        raise "ferret_server may already be running, a pid file exists: #{@cfg.pid_file}" if read_pid_file 
    5253        open(@cfg.pid_file, "w") {|f| f << Process.pid << "\n"} 
    5354        at_exit { File.unlink(@cfg.pid_file) if read_pid_file == Process.pid } 

To edit pages or tickets please login with username/password: aaf/aaf