To create a new spawner, write a class that extends DaemonSpawn::Base and provides start and stop methods. For example: class MyServer < DaemonSpawn::Base def start(args) # process command-line args # start your bad self end def stop # stop your bad self end end MyServer.spawn!(:log_file => '/var/log/echo_server.log', :pid_file => '/var/run/echo_server.pid', :sync_log => true, :working_dir => File