An open API service indexing awesome lists of open source software.

https://github.com/usausa/service-deploy-agent

Windows Service remote deploy tool.
https://github.com/usausa/service-deploy-agent

csharp deploy dotnet dotnet-core dotnet-global-tool dotnet-global-tools dotnetcore tool windows-service windowsservices

Last synced: 2 months ago
JSON representation

Windows Service remote deploy tool.

Awesome Lists containing this project

README

        

# svcdeploy - Windows Service remote deploy tool & agent

## Install agent

Copy agent files to install directory.

* Service.Deploy.Agent.exe
* appsettings.json
* services.json

```
sc create ServiceDeployAgent binPath=(install directory)\Service.Deploy.Agent.exe start=auto
```

```
sc start ServiceDeployAgent
```

## Setting agent

Edit services.json.

```json
{
"Service": {
"Entry": [
{
"Name": "WebApp",
"Display": "Sample Service",
"Token": "xxxxxxxxxx",
"Directory": "D:\\WebApplication",
"BinPath": "D:\\WebApplication\\WebApplication.exe"
}
]
}
}
```

## Install client

```
dotnet tool install --global Usa.Tool.ServiceDeploy
```

## Use client

```
svcdeploy deploy -n WebApp -d D:\Project\WebApplication\bin\Release\net5.0\publish\ -u https://server:50443/ -t xxxxxxxxxx
```

```
svcdeploy config update -n WebApp -u https://server:50443/ -t xxxxxxxxxx
```

```
svcdeploy deploy -n WebApp -d D:\Project\WebApplication\bin\Release\net5.0\publish\
```