Install any application as a Windows Service simply editing a json file
- .Net Core 3.1
- Topshelf 4.3.0
- NLog 4.7.11
- Specify in the
appsettings.json
file your executable path, command line arguments and Windows Service parameter - Open a
Command Prompt
as Administrator and run.\RunAsService.exe install
to install your application as Windows Service - That's all!
- add the startup options (automatic|automatic with delay|manual)