How to run a service