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.
- Host: GitHub
- URL: https://github.com/usausa/service-deploy-agent
- Owner: usausa
- License: mit
- Created: 2021-03-18T11:50:42.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-23T02:42:53.000Z (3 months ago)
- Last Synced: 2025-02-23T03:24:58.363Z (3 months ago)
- Topics: csharp, deploy, dotnet, dotnet-core, dotnet-global-tool, dotnet-global-tools, dotnetcore, tool, windows-service, windowsservices
- Language: C#
- Homepage:
- Size: 130 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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\
```