Skip to content

Commit

Permalink
v3.2.2024.1203
Browse files Browse the repository at this point in the history
  • Loading branch information
nnhy committed Dec 3, 2024
1 parent 9ff8713 commit fcf908f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ClientTest/ClientTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="NewLife.Redis" Version="6.0.2024.1101" />
<PackageReference Include="NewLife.Redis" Version="6.0.2024.1202" />
<PackageReference Include="NewLife.UnitTest" Version="1.0.2024.1006" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
Expand Down
13 changes: 12 additions & 1 deletion StarAgent/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Reflection;
using NewLife;
using NewLife.Agent;
using NewLife.Agent.Models;
using NewLife.Log;
using NewLife.Model;
using NewLife.Reflection;
Expand All @@ -14,6 +15,7 @@
using Stardust.Models;
using Stardust.Plugins;
using IHost = NewLife.Agent.IHost;
using ServiceModel = NewLife.Agent.Models.ServiceModel;

namespace StarAgent;

Expand Down Expand Up @@ -180,7 +182,16 @@ private void FixKillMode(SystemdSetting set)
exe = dll;
}

Host.Install(ServiceName, DisplayName, exe, "-s", Description);
var service = new ServiceModel
{
ServiceName = ServiceName,
DisplayName = DisplayName,
Description = Description,
FileName = exe,
Arguments = "-s",
};

Host.Install(service);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion StarAgent/StarAgent.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="NewLife.Agent" Version="10.10.2024.1116" />
<PackageReference Include="NewLife.Agent" Version="10.10.2024.1202" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Stardust.Server/Stardust.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

<ItemGroup>
<PackageReference Include="NewLife.IP" Version="2.2.2024.1102" />
<PackageReference Include="NewLife.Redis" Version="6.0.2024.1101" />
<PackageReference Include="NewLife.Redis" Version="6.0.2024.1202" />
<PackageReference Include="NewLife.Remoting.Extensions" Version="3.2.2024.1202" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion Stardust.Web/Stardust.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<ItemGroup>
<PackageReference Include="NewLife.Cube.Core" Version="6.2.2024.1115" />
<PackageReference Include="NewLife.IP" Version="2.2.2024.1102" />
<PackageReference Include="NewLife.Redis" Version="6.0.2024.1101" />
<PackageReference Include="NewLife.Redis" Version="6.0.2024.1202" />
<PackageReference Include="NewLife.Remoting.Extensions" Version="3.2.2024.1202" />
</ItemGroup>

Expand Down

0 comments on commit fcf908f

Please sign in to comment.