title: golang windows service package initialize settings
body: <p>I am trying to create a golang windows service utilizing this package</p>
  
  <pre><code>godoc.org/golang.org/x/sys/windows/svc
  </code></pre>
  
  <p>Everything works great until I add an init func to initialize settings. The service then fails to start.  I am attempting to load config.json via this package</p>
  
  <pre><code>github.com/spf13/viper
  </code></pre>
  
  <p>The error I get then is:</p>
  
  <p>could not start service: the service did not response to the start or control request in a timely fashion.</p>