You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zero/ZeroLevel.Discovery/DiscoveryService.cs

32 lines
696 B

using ZeroLevel.Services.Applications;
namespace ZeroLevel.Discovery
{
public sealed class DiscoveryService
: BaseWindowsService, IZeroService
{
public DiscoveryService()
: base("Discovery")
{
}
public override void PauseAction()
{
}
public override void ResumeAction()
{
}
public override void StartAction()
{
Injector.Default.Register<RouteTable>(new RouteTable());
var port = Configuration.Default.First<int>("port");
Startup.StartWebPanel(port, false);
}
public override void StopAction()
{
}
}
}

Powered by TurnKey Linux.