static void Main()
        {
            WindowsServiceShim.Init("Overdrive.config");
            WindowsServiceShim.PreventMultipleInstances();

            WorkerManager workerManager = new WorkerManager(WindowsServiceShim.ServiceStopCommand);
            WindowsServiceShim.Run(workerManager.LogicalEntryPoint);
        }
示例#2
0
        static void Main()
        {
            WindowsServiceShim.Init("Overdrive.config");
            WindowsServiceShim.PreventMultipleInstances();

            WorkerManager workerManager = new WorkerManager(WindowsServiceShim.ServiceStopCommand);

            WindowsServiceShim.Run(workerManager.LogicalEntryPoint);
        }