ansible/test/integration/targets/win_service/files/Program.cs
Jordan Borean aedad64c8f win_service - use custom binary for tests (#51689)
(cherry picked from commit 2e99dea867)
2019-02-04 12:57:06 -08:00

16 lines
302 B
C#

using System.ServiceProcess;
namespace SleepService
{
internal static class Program
{
private static void Main(string[] args)
{
ServiceBase.Run(new ServiceBase[1]
{
(ServiceBase) new SleepService(args)
});
}
}
}