Fix StartedKeywords StoppedKeywords values

This commit is contained in:
ChsBuffer
2021-02-20 16:19:57 +08:00
parent 212aaf8a8f
commit 192a00b1a9
6 changed files with 36 additions and 25 deletions

View File

@@ -1,3 +1,4 @@
using System.Collections.Generic;
using System.IO;
using System.Text;
using Netch.Controllers;
@@ -9,6 +10,10 @@ namespace Netch.Servers.ShadowsocksR
{
public override string MainFile { get; protected set; } = "ShadowsocksR.exe";
protected override IEnumerable<string> StartedKeywords { get; } = new[] {"listening at"};
protected override IEnumerable<string> StoppedKeywords { get; } = new[] {"Invalid config path", "usage"};
public override string Name { get; } = "ShadowsocksR";
public ushort? Socks5LocalPort { get; set; }