def start(&block)
      fail 'No start block given.' if block.nil?
      check_existing_pid
      puts "Starting process..."
      Process.daemon if @opts[:daemonize]
      change_privileges if @opts[:auto_default_actions]
      redirect_outputs if @opts[:auto_default_actions]
      write_pid
      trap_default_signals if @opts[:auto_default_actions]
      block.call('start')
    end
def start(&block)
      fail 'No start block given.' if block.nil?
      check_existing_pid
      puts "Starting process..."
      Process.daemon if @opts[:daemonize]
      change_privileges if @opts[:auto_default_actions]
      redirect_outputs if @opts[:auto_default_actions]
      write_pid
      trap_default_signals if @opts[:auto_default_actions]
      block.call('start')
    end
Start the process with the given block.
 @param [Block]