/// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main()
        {
            log4net.Config.XmlConfigurator.Configure();
            Logger.Info("(Acme Program Starter Service logger has been configured.");

#if !DEBUG
            ServiceBase[] ServicesToRun;
            ServicesToRun = new ServiceBase[]
            {
                new Service1()
            };
            ServiceBase.Run(ServicesToRun);
#else
            var programStarter = new ProgramStarterCaller();
            programStarter.StartProcess();
#endif
        }
 protected override void OnStart(string[] args)
 {
     processCaller = new ProgramStarterCaller();
     processCaller.StartProcess();
 }