title: How can I trigger to start my windows service app if a specific application opens and closes?
body: <p>Example: Skype will be the application to trigger my service, if skype opens then my service should start. If skype closes then my service should close. Is that possible?</p>
  
  <p>I want to put the status in my eventLog to check if it indeed works using something like this:</p>
  
  <pre><code>protected override void OnStart(string[] args)
      {
          galaxyeventLog.WriteEntry("Skype Start");
      }
  
      protected override void OnStop()
      {
          galaxyeventLog.WriteEntry("Skype Stop");
      }
  </code></pre>