The lotus daemon is a service, and brew offers native support for running services. The ipfs homebrew package already supports this, so we should be able to enable it without too much effort: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/ipfs.rb