|
|
@ -72,6 +72,10 @@ |
|
|
|
{ |
|
|
|
{ |
|
|
|
DoShutdown(); |
|
|
|
DoShutdown(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
else if (command.Equals("diagnose", StringComparison.OrdinalIgnoreCase)) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
DoDiagnose(); |
|
|
|
|
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
ShowHelp(); |
|
|
|
ShowHelp(); |
|
|
@ -92,6 +96,8 @@ |
|
|
|
Console.WriteLine("\t\tPerforms startup sequence (development command, does not affect services)"); |
|
|
|
Console.WriteLine("\t\tPerforms startup sequence (development command, does not affect services)"); |
|
|
|
Console.WriteLine($"\t{exeName} shutdown"); |
|
|
|
Console.WriteLine($"\t{exeName} shutdown"); |
|
|
|
Console.WriteLine("\t\tPerforms shutdown sequence (development command, does not affect services)"); |
|
|
|
Console.WriteLine("\t\tPerforms shutdown sequence (development command, does not affect services)"); |
|
|
|
|
|
|
|
Console.WriteLine($"\t{exeName} diagnose"); |
|
|
|
|
|
|
|
Console.WriteLine("\t\tPerforms diagnose (see result file in logs folder)"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private static void DoInstall() |
|
|
|
private static void DoInstall() |
|
|
@ -136,5 +142,10 @@ |
|
|
|
{ |
|
|
|
{ |
|
|
|
new MainHandler().HandleShutdown("Program.DoShutdown"); |
|
|
|
new MainHandler().HandleShutdown("Program.DoShutdown"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static void DoDiagnose() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
new MainHandler().HandleDiagnose("Program.DoDiagnose"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|