support mono restarts

This commit is contained in:
Luke Pulverenti
2015-05-23 18:01:13 -04:00
parent d0c9273d67
commit fb48dd3487
8 changed files with 102 additions and 11 deletions

View File

@@ -13,7 +13,27 @@ namespace MediaBrowser.Server.Mac
public override void Shutdown()
{
MainClass.Shutdown();
}
}
/// <summary>
/// Determines whether this instance [can self restart].
/// </summary>
/// <value><c>true</c> if this instance can self restart; otherwise, <c>false</c>.</value>
public override bool CanSelfRestart
{
get
{
return true;
}
}
/// <summary>
/// Restarts this instance.
/// </summary>
public override void Restart()
{
MainClass.Restart();
}
}
}