'How to pass JVm Arguments to winsw
I have built a SpringBoot Application.
To deploy into a VM I use Remote Powershell and WinSW method to run the jar as windows service. Everything is fine.
But Now If i want to pass the JVM Arguments to the WinSW Windows Service.
How can I do that?
From the remote-powershell I first run the .\winsw.exe install.
WinSW provides a winsw.xml file where I mention my arguments java -jar filename.jar
Afterwards I run powershell command Start-Service -Name servicename on the remote-machine.
But now I want to pass the JVM Arguments how can I achieve this?
I don't want to pass the arguments in the winsw.xml file.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
