diff options
Diffstat (limited to 'ServiceManager/ServiceManager.cs')
-rw-r--r-- | ServiceManager/ServiceManager.cs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ServiceManager/ServiceManager.cs b/ServiceManager/ServiceManager.cs new file mode 100644 index 0000000..6a613bb --- /dev/null +++ b/ServiceManager/ServiceManager.cs | |||
@@ -0,0 +1,31 @@ | |||
1 | using System; | ||
2 | using System.Threading; | ||
3 | using System.ServiceProcess; | ||
4 | |||
5 | public class OpenGridMasterService : System.ServiceProcess.ServiceBase { | ||
6 | |||
7 | private Thread ServiceWorkerThread; | ||
8 | |||
9 | public OpenGridMasterService() | ||
10 | { | ||
11 | CanPauseAndContinue = false; | ||
12 | ServiceName = "OpenGridServices-master"; | ||
13 | } | ||
14 | |||
15 | private void InitializeComponent() | ||
16 | { | ||
17 | this.CanPauseAndContinue = false; | ||
18 | this.CanShutdown = true; | ||
19 | this.ServiceName = "OpenGridServices-master"; | ||
20 | } | ||
21 | |||
22 | protected override void OnStart(string[] args) | ||
23 | { | ||
24 | |||
25 | |||
26 | } | ||
27 | |||
28 | public static void Main() | ||
29 | { | ||
30 | } | ||
31 | } | ||