blob: 6a613bb7e5dfd40d3db8e7c73dc551e892d572c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
using System;
using System.Threading;
using System.ServiceProcess;
public class OpenGridMasterService : System.ServiceProcess.ServiceBase {
private Thread ServiceWorkerThread;
public OpenGridMasterService()
{
CanPauseAndContinue = false;
ServiceName = "OpenGridServices-master";
}
private void InitializeComponent()
{
this.CanPauseAndContinue = false;
this.CanShutdown = true;
this.ServiceName = "OpenGridServices-master";
}
protected override void OnStart(string[] args)
{
}
public static void Main()
{
}
}
|