Skip to content

Commit

Permalink
Merge pull request #28 from microsoft/POSNodeSvcStuckIssueWithoutPSfile
Browse files Browse the repository at this point in the history
Pos node svc stuck issue without p sfile
  • Loading branch information
khandelwalbrijesh authored Jun 14, 2019
2 parents 7dedde6 + 614b7f1 commit 3332bf8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ REM icacls %workingDir% /grant "Network Service":(OI)(CI)F /T

REM Stop the service and uninstall the current version
sc stop %serviceName%
powershell -File "KillService.ps1"

REM POSNodeSvc stucks sometimes while stopping. This will unblock that.
taskkill /IM "NodeAgentNTService.exe" /F
sc delete %serviceName%

REM Cleanup the %workingDir% for all predecided folders.
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<IsServiceFabricServiceProject>True</IsServiceFabricServiceProject>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.ServiceFabric.Data" Version = "3.3.654"/>
<PackageReference Include="Microsoft.ServiceFabric" Version = "6.4.654"/>
<PackageReference Include="Microsoft.ServiceFabric.Services" Version = "3.3.654"/>
<PackageReference Include="Microsoft.ServiceFabric.Data" Version="3.3.654" />
<PackageReference Include="Microsoft.ServiceFabric" Version="6.4.654" />
<PackageReference Include="Microsoft.ServiceFabric.Services" Version="3.3.654" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />
Expand Down Expand Up @@ -46,9 +46,6 @@
<None Include="SetupEntryPoint.bat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="KillService.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\NodeAgentNTService\src\NodeAgentNTService.csproj">
Expand Down

0 comments on commit 3332bf8

Please sign in to comment.