mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
17 lines
302 B
C#
17 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)
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|