Dbundle.websocket.compression.enabled option for windows service

How to turn on Dbundle.websocket.compression.enabled=false on every start of windows service?

0
2 comments

Hi Denis,

I managed to get it working: I've opened the file %ProgramFiles%\Upsource\conf\internal\launcher.service.settings.xml and added the parameter there. Here are the contents of my file:

<?xml version="1.0" encoding="utf-8"?>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- DO NOT CHANGE THIS FILE! ALL YOUR CHANGES WILL BE ELIMINATED AFTER AUTOMATIC UPGRADE. -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<jetservice>
<name>upsource</name>
<displayName>Upsource</displayName>
<description>Upsource Service</description>
<service-logging file="D:\Upsource\logs\launcher-service.log" level="debug"/>
<execution>
<workdir>..\..</workdir>
<program>cmd.exe</program>
<arguments>/c bin\upsource.bat run from-service --J-Dbundle.websocket.compression.enabled=false</arguments>
<status-marker>
<started>###-STARTED-f0SJK3P4wGKm6dOdWlouxGHLBO5Pogsbq27V7h9M-###</started>
</status-marker>
<termination timeout="31">
<execution>
<workdir>..\..</workdir>
<program>cmd.exe</program>
<arguments>/c bin\upsource.bat stop</arguments>
</execution>
</termination>
</execution>
</jetservice>

Regards,

Enric

1

Enric, thanks, it works.

However it is generated file and it would be great if JetBrians team add this parameter support in JetService.exe

0

Please sign in to leave a comment.