README.md in process-daemon-0.5.3 vs README.md in process-daemon-0.5.4
- old
+ new
@@ -26,12 +26,11 @@
require 'process/daemon'
# Very simple XMLRPC daemon
class XMLRPCDaemon < Process::Daemon
- def base_directory
- # Should be an absolute path:
- File.join(__dir__, "tmp")
+ def working_directory
+ File.expand_path("../tmp", __FILE__)
end
def startup
puts "Starting server..."