snippet to run windows service from console