Let's reverse the conditional here to say:

```ruby
if options['detach']
  pid = Process.fork { s.start }
  Process.detach(pid)
  pid
else
  t = Thread.new { s.start }
  trap("INT") { s.shutdown }
  t.join()
end
```

using an `if` here is easier to read through vs. an `unless`