Enabled running as a service.