set up thin as a service.